Please wait while we enable your Account

0%

Contacting Amazon Web Services
Deploying Cloud Servers, Storage, Transcoding & Database Servers
Deploying Global CDN
Deploying Firewall & Enabling Security Measures
Deploying the CMS & Admin Module
Deploying Website, Mobile & TV Apps framework
Creating your FTP account
Finishing up all the modules
Preparing for launch

nmon – How To Install And Get GUI Like Monitoring For CLI

Debarpita Banerjee Published on : 16 December 2022
nmon

 

Are you a Linux developer? Then, you must be familiar with tools like nmon, right? But for those unversed, nmon is a fully interactive performance monitoring command-line utility tool for Linux. In more simple words, it is a benchmark tool that displays the performance of the CPU, Memory, Network, Disk, File System, NFS, Top Processes, Resources, and Power Micro-Partition.

The screenshots given below will help you in understanding the different functionalities of the tool more clearly.

 

This is how nmon shows you the kernel and load averages

This is how nmon show you the resources and processes

This is how nmon shows you the top-running processes

This is how nmon show you the memory and swap

This is how nmon show you the CPU utilization

 

So, in simple terms, you can say that it is a GUI benchmarking tool for Linux CLI. And it is one of the most commonly-used tools used by any Linux developer nowadays. If you are also a Linux developer looking to get started with a GUI-Monitoring tool, So, let’s take a look at some of their applications.

Where Are GUI Benchmarking Tools Used?

Basically, if you work on CLI in Linux most of the time, you will need to observe the CPU and RAM stats. And if you want to Observe the CPU and RAM statistics on the go, then GUI Benchmarking tools are your best friend. With this tool, you can see all the CPU and RAM performance stats in real time over the terminal window.

And the installation process is also very simple. You just need to follow the steps given below.

 

How to Install These Tools?

You can install it on Ubuntu with the below command:

sudo apt-get update

sudo apt-get install nmon

 

On the other hand, it can be installed on Fedora using the command given below:

yum install nmon

 

And if you want to install it on RHEL, you can follow the commands given below:

# yum install epel-release
# yum install nmon

 

How to Get Started With ‘nmon’?

To start ‘nmon’ in the terminal window, open the terminal and just write “nmon” and hit enter. After this, you will get a window as shown in the screenshot below.

Now, if you hit “c” and “m” then you can see the Live performance of CPU and Memory, like the screenshot shown below.

And when you want to exit from this window, just hit a “q”. So, as you can clearly see, the process is very easy and simple.

 

Expert Tip: When I work with an AWS EC2 instance, I open this ‘nmon’ in one tab, and keep working on the other terminal on the other. Through this, I can observe live performances on the go. It makes my work much more efficient.

 

Other useful Features:

Though monitoring is the most important feature of ‘nmon’, it performs many other functions too! Let’s take you some of their other benefits.

 

Get The Top Process Details

You can get all the details of the top process running on your system. In order to get the top processes that are running currently, you should hit the ‘t‘ key on the keyboard of the system that you are using. The terminal will display the top processes, as shown in the screenshot given below:

 

Disk I/O Graphs

In order to get information about disks, you should hit the ‘d‘ key on the keyboard of the system you are using. The disk data will be displayed on your screen as shown below:

 

Other Useful Tools Like ‘nmon’

As a developer, we keep hustling from one program to another. So, many times, one tool usually doesn’t suffice. In order to get the maximum benefits, you can try using a combination of tools. Some of the other useful tools are listed below.

  1. ‘top’
  2. VmStat – Virtual Memory Statistics
  3. Lsof – List Open Files
  4. Tcpdump – Network Packet Analyzer
  5. Netstat – Network Statistics
  6. Htop – Linux Process Monitoring
  7. Iotop – Monitor Linux Disk I/O
  8. IPTraf – Real-Time IP LAN Monitoring

 

Author Credit:

Before we say goodbye to you all, we must give credit where it’s due – this blog was written by Tanmaya Patra, Sr. Software Engineer of our Encoding Pod. The blog was edited by Debarpita Banerjee. We hope you enjoyed reading it!

 

Start your OTT Platform

Written by: Debarpita Banerjee

Debarpita is a Content Writer with Muvi. With around 2 years of experience in content creation, she has worked across industries like SaaS, EdTech, eLearning, AR-VR, and Metaverse. She believes in delivering content that can be of some value to the readers. In her free time, she likes to try her hand at website and app development.

Add your comment

Leave a Reply

Your email address will not be published.

Try Muvi One free for 14 days

No Credit Card Required

.muvi.com
Your website will be at https://yourname.muvi.com, you can change this later.

Upcoming Webinar
May 08

9:00AM PST

Scale on Demand: Muvi’s Application Scalability Insights

Scalability in applications means that as more people start using the app or as the app handles more data, it continues to perform well without crashing or slowing…...

Event Language: English
30 Minutes