LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Command to list all running processes (https://www.linuxquestions.org/questions/linux-general-1/command-to-list-all-running-processes-293722/)

GSX 02-23-2005 02:05 AM

Command to list all running processes
 
Hi,

is there an command to list all running processes?

Because sometimes I want to kill a process but I donīt know the PID...


Greetz

druuna 02-23-2005 02:11 AM

Hi,

ps -aux
or
ps -ef

See man ps for a lot of options and their meaning.

Hope this helps.

GSX 02-23-2005 02:19 AM

Many thx!!! :D

This was all I was looking for...

Greetz

oneandoneis2 02-23-2005 02:31 AM

I find adding -H to the "ps aux" command makes for easier reading

spariggio82 02-23-2005 03:42 AM

You could use the command:

top

to list the running processes. It allows you to direct kill (or something else) the process.

Enjoy


All times are GMT -5. The time now is 05:10 AM.