Wednesday 18 September 2013

Show All Running Processes in Linux

Show All Running Processes in Linux


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

Task: see every process on the system

# ps -A
# ps -e

Task: See every process except those running as root

# ps -U root -u root -N

Task: See process run by user rasel

# ps -u rasel

Task: top command

The top program provides a dynamic real-time view of a running system. Type the top at command prompt:
# top

No comments:

Post a Comment