Page 1 of 1

How to get all running processes in Linux?

Posted: Tue Jun 01, 2010 2:35 pm
by Saman
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.

Code: Select all

ps aux | less
Extra options:

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

Re: How to get all running processes in Linux?

Posted: Fri Oct 01, 2010 11:45 pm
by Mysoogal
in ubuntu, you can just type
top


and will list all the PID and running programs

to shutdown any program running

copy PID number and type in terminal
kill 33565
, just as example :D