Linux | Nmon

Nmon is a fully interactive performance monitoring command-line utility tool for Linux. It is a benchmark tool that displays performance about the CPU, MEMORY, NETWORK, DISKS, FILE SYSTEM, NFS, TOP PROCESSES, RESOURCES, AND POWER MICRO-PARTITION.

INSTALLATION
On Ubuntu/Debian :

$ sudo apt-get install nmon

On Fedora:



# yum install nmon

CentOS/RHEL:

# yum install epel-release
# yum install nmon

Once the installation of Nmon has been finished and you launch it from the terminal by typing the ‘nmon‘ command you will be presented with the following output.

$ nmon

Interactive Mode

Check CPU by processor
In order to get the CPU performance, you should hit the ‘c‘ key on the keyboard of the system you are using.

CPU by processor

CPU by processor

Top Process Details
In order to get the top processes that are running currently, you should hit the ‘t‘ key on the keyboard of the system you are using.

Top Processes

Top Processes

Check Network Statistics
In order to check network statistics, you should hit the ‘n‘ key on the keyboard of the system you are using.

Network Statistics

Network Statistics

Disk I/O Graphs
In order to get informations of disks, you should hit the ‘d‘ key on the keyboard of the system you are using.

Monitor Disk I/O

Monitor Disk I/O

Check Kernel Information
In order to check kernel information, you should hit the ‘k‘ key on the keyboard of the system you are using.

Check Linux Kernel Information

Check Linux Kernel Information

Get System Information
In order to get system information on different resources such as operating system version, Linux Version, Machine architecture, you should hit the ‘r‘ key on the keyboard of the system you are using.

System Information

System Information

Check File System Statistics
In order to check File System Statistics, you should hit the ‘j‘ key on the keyboard of the system you are using. You can get information on the size of the file system, used space, free space, type of the file system and the mount point.

File System Statistics

File System Statistics

Virtual Memory Statistics
In order to check Virtual Memory Statistics, you should hit the ‘V‘ key on the keyboard of the system you are using.

Virtual Memory Statistics

Virtual Memory Statistics

CPU Long Term
In order to check CPU Long Term Statistics, you should hit the ‘l‘ key on the keyboard of the system you are using.

CPU Long-term

CPU Long-term


Reference : http://nmon.sourceforge.net/pmwiki.php



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.