1758220 Members
2792 Online
108868 Solutions
New Discussion юеВ

runing services

 
Indrajit_1
Valued Contributor

runing services

Hi;

is there any command, to see all the up and running process(services).

Except "ps -aef, ps -ef |grep ". Because if we have around 200 process running in a server, it is very defficult to have a clear picture or remember all the running process.

Cheers
indrajit
Never Ever Give Up
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: runing services

Hi Indrajit,

"top" will also show you the list of running processes.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor

Re: runing services


Hi Indrajit,

#ps --> is the cmmond to list all process that are currently running.

#top --> will list the TOP ( in terms of utilization)

With Regards,

Siva.
Nothing is Impossible !
Tvs
Regular Advisor

Re: runing services

hi


if you wnat to know the services which up and running you can use the netstat -an or top command.

regards

tvs
Muthukumar_5
Honored Contributor

Re: runing services

You can use ps command with state information to find the process running status as,

state The state of the process:

0 Nonexistent
W Waiting
R Running
I Intermediate
Z Terminated
T Stopped
X Growing

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: runing services

To get only running state process then,

UNIX95= ps -ef -o state,comm,pid | grep -w 'R'

will give it.

--
Muthu
Easy to suggest when don't know about the problem!
Indrajit_1
Valued Contributor

Re: runing services

Hi All;

Thanks for ur kind reply. Actually, i was looking for some other command. i have work with top, inetstat, glance etc.. Anyway.. thanks


Cheers
indrajit
Never Ever Give Up