Wednesday, February 17, 2010

How to see the process Running in Linux System

How to see the process Running in Linux System

As a part of monitoring Linux system you often need to know about the currently running processes in Linux systems. Once you know the process running on the Linux system you can kill the process that are slowing down your system. Again, information about system processes makes it imperative to kill the processes that make the system unstable. Knowing the server and running processes in the system is important. The information would allow you to shut down some of the processes. There are a number of ways  Let's see

Linux supports ps command to display information about all running process. The ps command provides a snapshot of the current process.
Just type the following command in the terminal
# ps aux | less
ps

There are three ways you can use this command.

See all the processes in the system types the following in the terminal
# ps -A

See all the processes except those running  on the root
# ps -U root -u root -N

See the process by the certain user
# ps -u username

For dynamic real time view of running systems. Type the top at terminal
# top

No comments: