LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   process listing (https://www.linuxquestions.org/questions/linux-newbie-8/process-listing-12507/)

Jester888 01-23-2002 02:45 PM

process listing
 
How do I list the running processes via the command line? to see process name and PID at the least. I am running Mandrake 8.1 and KDE if that is any help.

:newbie:

lfslinux 01-23-2002 02:56 PM

Re: process listing
 
Quote:

Originally posted by Jester888
How do I list the running processes via the command line? to see process name and PID at the least. I am running Mandrake 8.1 and KDE if that is any help.

:newbie:

KDE has a graphic program but I forgot it's name.

To do it on the console, use the "ps" program. There are a lot of options you can pass to ps to modify the output. A common invocation is "ps ax" which will display all processes currently runing, including that of other users, it'll show the PID, the terminal if any, the state of the process, the time it was started and the command itself.

Add the 'f' option and you get more info like CPU usage and MEM usage.

Read the ps man page (run "man ps") to see how you can modify the output.


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