How to get all running processes in Linux?
Posted: Tue Jun 01, 2010 2:35 pm
You need to use the ps command. It provide information about the currently running processes, including their process identification numbers (PIDs). Both Linux and UNIX support ps command to display information about all running process. ps command gives a snapshot of the current processes. If you want a repetitive update of this status, use top command.
Extra options:
Code: Select all
ps aux | less
Code: Select all
A: select all processes
a: select all processes on a terminal, including those of other users
x: select processes without controlling ttys