How to view running services?
Using the terminal, how can I view all of the current running services?
|
type 'top' in your terminal;)
|
Thanks for the quick reply.
I know my httpd service is running, but it is not showing in this list. Should it? |
Try ps-Al | grep httpd
There are other ways to view / start /stop services, but as you are not telling us your distribution (Hint: Update your LQ Profile), we cannot tell you. |
Sorry, I am using Fedora Core 4.
|
Sorry, I know nothing about FC4, but the ls -Al will tell you what is running.
|
on most distro
chkconfig --list (ok services might not be exactly running if you stopped them) what about service --list-all (if I remember well) otherwise try man service ksysv is another one (is it installed?) cannot remember the FC very specific other service monitor try in a terminal apropos service |
Tredegar, ls -al will not tell you which services is running, it lists all the content in the current directory with extra information;)
|
slackmartian,
You are right - my typo! ps -Al will show All running processes, but chkconfig is a useful command that is new to me, and useful too. |
;)
|
On the FC series, you can also use
top -u <username> ie specify the user running the process/apps you're interested in. |
or type top, then press u and your username;)
|
top is a useful utility, but it doesn't show all the processes that are running - only as many as will fit into your terminal window. So if some process is not using many resources, you may not see it, even though it is running.
ps -A or service --status-all are more likely to give ctroyp the answer (s)he needs. |
Quote:
Troy |
All times are GMT -5. The time now is 09:20 AM. |