A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/linux-unix/linux-nmon/ below:

Linux | Nmon - GeeksforGeeks

Linux | Nmon

Last Updated : 11 Jul, 2025

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.

What is Nmon?

Nmon, or Nigel's Monitor, is a very lightweight, command-line system-performance monitoring tool on Linux platforms. It assists sysadmins and devs in monitoring and analyzing important system resources in real time or off a recorded timeline.

Nmon is an open-source performance-monitoring tool for checking:

INSTALLATION of Nmon

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

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

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

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

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

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

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

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

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 How to Analyze Nmon Output

Nmon generates performance data that can be opened and examined by multiple tools. System administrators and developers are able to use this to track resource consumption, debug the bottlenecks, and maximize Linux system performance.

You can open .nmon files using:

Example Command to Generate Graphs:

nmonchart yourfile.nmon      # This command will create interactive HTML performance charts from the .nmon file

Also Read: How use Nmon and “Java Nmon Analyzer” for Monitor Linux Performance

Why Use Nmon Over Other Tools?

There are many tools we can use for different purpose like:

Tool Real-Time Monitoring Historical Data Logging Graph Generation User-Friendly Interface top Yes No No Yes htop Yes No No Yes iotop Yes No No Yes nmon Yes Yes Yes Yes Conclusion

If you're on Linux—be it Ubuntu, Debian, CentOS, Fedora, or RHEL—Nmon is one of the most potent and lightweight tools you can use to monitor the performance of your system. It gives you live details about vital metrics like CPU usage, memory usage, disk I/O, network usage, top processes, kernel stats, etc., all from your command prompt.

Unlike basic tools such as top or htop, Nmon not only monitors real-time performance but also records history for detailed analysis. With nmonchart and nmon_analyzer support for visual reporting, you can effortlessly transform performance logs into readable graphs and charts to identify bottlenecks and streamline Linux systems with ease.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4