Tuesday, April 17, 2007

Viewing system's running processes

To view running processes, you can use ps command to list out the running processes.
To see every process on the system:
ps -e
ps -ef
ps -eF
ps -ely
To find the process that you want to see:
-> ps -e | grep nameoftheprocess

example: -> ps -e | grep httpd
The above command will print only the httpd process.

No comments: