Need generic command to get complete running process details


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need generic command to get complete running process details
Prev   Next
# 1  
Old 04-03-2017
Hammer & Screwdriver Need generic command to get complete running process details

I am on SunOS and Linux

I need generic command to get complete process details from which i will eventually extract socket details (listen address and port)

Code:
ps -ef | ggrep -i server | ggrep -i mydomain

does not yield a process that should have both the grep entries along with the listen address and port.

I need a command generic in Solaris and Linux which also prints the socket details.

If generic is not possible i will appreciate individual ps command for linux and SunOS that gives me the detailed ps output including the socket details.

Can you please help ?

Last edited by mohtashims; 04-03-2017 at 03:55 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Generic script to load file details(ls -ltr) in to a database.

All, I am trying to create a report on the duration of an ETL load from the file arrival to the final dump in to a database for SLA's. Does anyone have any guidance or ideas on how metadata can be extracted; information of a file: like file name, created timestamp, count of records and load... (1 Reply)
Discussion started by: pradeepp
1 Replies

2. Shell Programming and Scripting

Check if process is running if not then use command

Hello, Could someone do the following bash ubuntu script for me? I have 5 screen processes of bot: SCREEN -dmS Xbot_instance_1 php core.php -i 1 SCREEN -dmS Xbot_instance_2 php core.php -i 2 SCREEN -dmS Xbot_instance_3 php core.php -i 3 SCREEN -dmS Xbot_instance_4 php core.php -i 4 ... (2 Replies)
Discussion started by: kotch
2 Replies

3. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies

4. Shell Programming and Scripting

Command to know all the Current running process and how to kill

All, 1.What is the unix comand used for all current running process (Including All current running processes Parent ->child->subchild process) 2.If child and subchild processes are running then what is the unix command to kill parent and its all child subchild processes in UNIX. Kindly... (7 Replies)
Discussion started by: skp
7 Replies

5. Shell Programming and Scripting

Show running process command > 60 chars

Hi. I use this command to get list of running process: ps -ef|grep ICP|grep -v grep But how do I set the terminal to show full command? It seems that it always truncated to 60 chars no matter what options I put. e.g output oracle9 25011 24998 0 03:00:05 ? 0:00 /usr/bin/sh... (14 Replies)
Discussion started by: aimy
14 Replies

6. Solaris

Process holding /tmp space, need to know the process details

Hi , In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using /tmp space. # df -h /tmp Filesystem size used avail capacity Mounted on swap ... (9 Replies)
Discussion started by: chidori
9 Replies

7. Shell Programming and Scripting

command to see process running at background

Hi , I want to see all the background process that are running in unix box machine...please guide me is there any specific command for that..since I am executing some scripts at background..!!:confused: (1 Reply)
Discussion started by: nks342
1 Replies

8. Shell Programming and Scripting

Running a command in a new process?

Hello I'm using GNU screen for an application that I'm making. I will try to explain: This application opens 2 screen session, A and B. Screen session A has a script running in teh first window. I want to be able to switch from screen session A to screen session B, from the script running in... (1 Reply)
Discussion started by: jondecker76
1 Replies

9. UNIX for Dummies Questions & Answers

Command to check if a particular process is running

Hi What is the best command to check if a particular process is running in a linux server or not To check any java process, I use the below command. ps -ef |grep jvm When I execute the above command, it lists me all the processess . The above command should ideally return only the... (6 Replies)
Discussion started by: vr3w3c9
6 Replies

10. UNIX for Dummies Questions & Answers

How to find the details of the previously running process with PID

OS: Unix or Linux I (only) know the pid of the process which was running earlier (say 5 hrs back) but it is not running now. Is there a way I could find the details of that process? (atleast the name of the process). Please let me know. (2 Replies)
Discussion started by: vijay.d
2 Replies
Login or Register to Ask a Question
QUICKPLOT_SHELL(1)					      General Commands Manual						QUICKPLOT_SHELL(1)

NAME
quickplot_shell - a remote command line shell for quickplot SYNOPSIS
Usage: quickplot_shell [PID]|[-h|--help]|[QUICKPLOT_OPTIONS] DESCRIPTION
Quickplot is an interactive 2D plotter. It's primary focus is to interactively display 2D plots. quickplot_shell connects to a running Quickplot program. quickplot_shell provides a command line interface for most of the graphical user interfaces that are in the Quickplot program. quickplot_shell reads and writes to standard input and standard output respectively. When standard input is a tty device quick- plot_shell enables readline tab completion and history. If you would like to save your Quickplot shell history between sessions just cre- ate a .quickplot_history in your home directory with a command like `touch ~/.quickplot_history'. If the argument option PID is not given, quickplot_shell will launch Quickplot as a new process and connect to that new process. In this case Quickplot will be started with QUICKPLOT_OPTIONS if any are given. If PID is given, quickplot_shell will connect to a running Quickplot program with process ID PID. quickplot_shell sets up two named pipes, signals the running Quickplot program and writes commands and reads responses to and from the pipe. The named pipes will be unlinked as soon as they are connected, and hence will be removed automatically when the two programs are no longer running. quickplot_shell, the remote Quickplot shell, acts just like running quickplot --shell, a local Quickplot shell, but quickplot_shell runs as a separate process and talks to the Quickplot program using pipes, where as quickplot --shell runs one process with both the GUI and the shell with no pipes. You may connect as number of remote Quickplot shells to a Quickplot program. -h, --help display help and exit SEE ALSO
quickplot(1) COPYRIGHT
Copyright (C) 1998-2011 Lance Arsenault Quickplot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Quickplot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Quickplot. If not, see <http://www.gnu.org/licenses/>. AUTHOR
Lance Arsenault <lanceman@users.sourceforge.net> Send bug reports or comments to the above address. For more information, see the Quickplot homepage at <http://quickplot.sourceforge.net/>. Quickplot Version 0.10.3: 31 Jan 2012 03:27:29 UTC QUICKPLOT_SHELL(1)