Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Del on May 24, 2003, 03:01:05 AM

Title: Command for services
Post by: Del 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
Title: Re: Command for services
Post by: steve 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
Title: Re: Command for services
Post by: steve on May 24, 2003, 03:12:25 AM
also
service --status-all
Title: Re: Command for services
Post by: del 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
Title: Re: Command for services
Post by: Doug M. on May 24, 2003, 08:54:35 AM
For squid: (I don't use hylafax)

/etc/rc.d/init.d/squid status
Title: Re: Command for services
Post by: del 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