How To Install nmon on Rocky Linux 8

In this tutorial we learn how to install nmon on Rocky Linux 8. nmon is Nigel’s performance Monitor for Linux

Introduction

In this tutorial we learn how to install nmon on Rocky Linux 8.

What is nmon

nmon is a systems administrator, tuner, benchmark tool, which provides information about CPU, disks, network, etc., all in one view.

We can use yum or dnf to install nmon on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nmon.

Install nmon on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nmon using dnf by running the following command:

sudo dnf -y install nmon

Install nmon on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nmon using yum by running the following command:

sudo yum -y install nmon

How To Uninstall nmon on Rocky Linux 8

To uninstall only the nmon package we can use the following command:

sudo dnf remove nmon

nmon Package Contents on Rocky Linux 8

/usr/bin/nmon
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/ce4bcee92b2250962d328665a03c980e1b3496
/usr/share/doc/nmon
/usr/share/doc/nmon/Documentation.txt
/usr/share/man/man1/nmon.1.gz

References

Summary

In this tutorial we learn how to install nmon on Rocky Linux 8 using yum and dnf.