March 9, 2016

15 simple TOP command examples on Linux to monitor processes

Linux TOP command
One of the most basic command to monitor processes on Linux is the top command. As the name suggests, it shows the top processes based on certain criterias like cpu usage or memory usage.
The processes are listed out in a list with multiple columns for details like process name, pid, user, cpu usage, memory usage.
Apart from the list of processes, the top command also shows brief stats about average system load, cpu usage and ram usage on the top.
This post shows you some very simple examples of how to use the top command to monitor processes on your linux machine or server.
Note your "top" command variant
Be aware that the top command comes in various variants and each has a slightly different set of options and method of usage.
To check your top command version and variant use the -v option
$ top -v
procps-ng version 3.3.9
This post focuses on the top command coming from the procps-ng project. This is the version available on most modern distros like Ubunut, Fedora, CentOS etc.
1. Display processes
To get a glimpse of the running processes, just run the top command as is without any options like this.
$ top
And immediately the output would be something...

Read full post here
15 simple TOP command examples on Linux to monitor processes

Other Related Posts

No related posts.

Read more at Binary Tides
Click Here!