Koozali.org: home of the SME Server

Command for services

Del

Command for services
« on: May 24, 2003, 03:01:05 AM »
Hi Everyone,
I have searched the forums and not come up with a specific answer to my question, which is: What is the command to find out what services are running on my SME server? Do I have to check each one to see if it is running or can I check everything with one command? Sorry if this is a basic question.
Thanks in advance,
Del

steve

Re: Command for services
« Reply #1 on: May 24, 2003, 03:11:28 AM »
ps -ae
will give you a list of all processes running
also
top
will give you a menutype list of processes that are running and how much cpu they utilize
hit q to quit top

is that what you were looking for?

steve

steve

Re: Command for services
« Reply #2 on: May 24, 2003, 03:12:25 AM »
also
service --status-all

del

Re: Command for services
« Reply #3 on: May 24, 2003, 05:58:50 AM »
Hi Steve,
That's what I'm looking for, thanks a lot. One other thing, can I check the status of a single process, say squid or hylafax?
Thanks again,
Del

Doug M.

Re: Command for services
« Reply #4 on: May 24, 2003, 08:54:35 AM »
For squid: (I don't use hylafax)

/etc/rc.d/init.d/squid status

del

Re: Command for services
« Reply #5 on: May 25, 2003, 07:11:58 AM »
Hi Doug,
I tried /etc/rc.d/init.d/hylafax status and it works OK
Thanks to all,
Del