Need to find a process? — Linux Tip #2


If you are ever wanting to quickly find a process on your system

ps aux | grep 'process-name'

will output some information for you about all the processes named ‘process-name’

Example:

eric@raptor:~$ ps aux | grep 'gaim'
eric     16112  0.1  2.4  50484 38652 ?        S    Mar04  10:04 gaim

where 16112 is the Process ID, 0.1 is the CPU%, 2.4 is the MEM%, etc.

See also man 1 ps

Eric Davis