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:
- CPU load – assist in monitoring usage of processors and spotting bottlenecks.
- Usage of memory – indicate how much RAM is taken or available.
- Disk I/O – tracks disk reading/writing data.
- Network bandwidth – reports data transfer throughput on the network.
- Processes – displays running processes and their memory consumption.
- Kernel stats and more – contains information about the operating system such as interrupts, context switches, and load averages.
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 ModeCheck 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 processorTop 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 ProcessesCheck Network Statistics
In order to check network statistics, you should hit the ‘n‘ key on the keyboard of the system you are using.
Network StatisticsDisk 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/OCheck 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 InformationGet 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 InformationCheck 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 StatisticsVirtual 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 StatisticsCPU 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-termHow 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:
- Excel or LibreOffice Calc – Great for sorting and filtering system performance metrics like CPU, memory, and disk use.
- nmonchart – Enables the conversion of Nmon files to easy-to-read HTML graphs to support web-based performance monitoring and reporting.
- nmon_analyzer – An Excel plugin for creating graphs and graphs showing data as charts and detecting trends in performance.
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.
Similar Reads
MX Linux
MX Linux is a good selection if you are in search of a Linux distribution that is simple, stable, and lightweight. With its roots in Debian Stable, it is fast and efficient as well. As such, it is geared towards people who prefer a customizable, low-maintenance operating system. And no matter if you
11 min read
Linux Terminal
Linux is one of the most powerful operating systems used for development, system administration, cybersecurity, and cloud computing. However, installing Linux on a physical machine is not always convenient. This is where a Linux terminal becomes an ideal solution.What is a Linux Terminal?The Linux t
9 min read
Linux/Unix Tutorial
Linux is one of the most widely used open-source operating systems. It's fast, secure, stable, and powers everything from smartphones and servers to cloud platforms and IoT devices. Linux is especially popular among developers, system administrators, and DevOps professionals.Linux is:A Unix-like OS
10 min read
What Is Linux
The Linux opeÂrating system is a collection of open-source software programs designed to function similarly to Unix systeÂms. Linus Torvalds, a Finnish software engineeÂr, initially launched the Linux kerneÂl, which serves as the core component, on SeptembeÂr 17, 1991. This kernel acts as a vital
12 min read
Linux Kernel Optimization
The Linux kernel is the core part of the Linux operating system. It acts like a bridge between the software (applications) and the hardware (CPU, memory, storage). When you run a program, the Linux kernel decides how much CPU power it gets, how it accesses files, and how it communicates with other d
7 min read
netsh Equivalent on Linux
The netsh is the popular command in Windows CMD (Command Prompt) that permits you to retrieve network configuration information running on the PC. If you recently shifted to the Linux OS and are looking for the Netsh command there, unfortunately, Linux doesn't have this command support. Instead, sev
5 min read
Kali Linux Tutorial
Kali Linux is a specialized open-source operating system designed for cybersecurity, penetration testing, and ethical hacking. Built on Debian, it comes with pre-installed security tools for digital forensics, vulnerability assessment, and network analysis. Like other Linux distributions, it shares
15+ min read
Asahi Linux
Asahi Linux is an open-source initiative that seeks to deliver a native Linux experience for Apple Silicon Macs, including the M1, M1 Pro, M1 Max, M1 Ultra, M2, M2 Pro, M2 Max, M2 Ultra, M3, M3 Pro, M3 Max, M4, M4 Pro, M4 Max chips. Unlike other Linux distributions, Asahi Linux is specifically desig
14 min read
MTR Command in Linux
As someone who manages Linux systems, you know that the common belief is to blame all problems on the infrastructure, which is your area of responsibility. Network engineers, who you playfully call your "enemies", often tell you, "It's not a network problem." Hearing those words can be frustrating b
4 min read
Linux - Metasploit Command
Metasploit is an open-source penetration testing framework and a suite of security tools used for a myriad of purposes like information gathering, scanning, pen testing, exploiting, encoding, firewall evasion, and even post-exploitation phase. The framework is constituted of different categories and
5 min read