Hello, friends. In this post, you will learn how to install nmon on Linux. With this tool, you will be able to monitor a Linux system quickly.
nmon is short for Nigel’s performance Monitor for Linux on POWER, x86, x86_64, Mainframe & now ARM (Raspberry Pi)
Thanks to nmon, You can display the CPU, memory, network, disks (mini graphs or numbers), file systems, NFS, top processes, resources (Linux version & processors) and on Power micro-partition information.
Another important feature of nmon is that you can save the generated information for later analysis. In this way, you will have an extra help to determine better solutions to problems originating from the server.
Easy to use, open source and powerful are some to describe nmon.
Install nmon on Linux
nmon is included in the official repositories of some Linux distributions. So, its installation is simple. Let’s get started.
sudo apt update sudo apt upgrade
And then, install nmon
sudo apt install nmon
In other cases, just run the
The nmon interface
With nmon installed on your system, you can now run it as any other command
As soon as you do, you will see this screen
Right there you will see some instructions. The most prominent ones are to press
H to get help or disable/enable some fields to show in the statistics.
When you know which statistics you want to show, then press the keys that activate them. Some of them are:
- c – For cpu stats.
- m – Memory stats.
- d – Disk stats.
- k – For kernel stats.
- n – For network stats.
- N – NFS stats.
In addition to this,
q to close the execution of nmon.
This way, you will have a simple tool with which to know the resource consumption of the operating system.
nmon is simple and light, but with important features that make it truly loved among the community.