Skip to main content

Posts

Showing posts from September, 2011

How do I see all running process in Linux?

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.     ps command Type the following ps command to display all running process:    # ps aux | less Where, -A: select all processes a: select all processes on a terminal, including those of other users x: select processes without controlling ttys See every process on the system # ps -A # ps -e See every process except those running as root # ps -U root -u root -N See process run by user vishnu   # ps -u vishnu top command The top program provides a dynamic real-time view of a running system. Type the top at command prompt: # top Output: top command : Displays Linux Tasks To quit press q , for help press