How To Install elmon on Rocky Linux 8

In this tutorial we learn how to install elmon on Rocky Linux 8. elmon is Performance monitoring tool

Introduction

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

What is elmon

elmon is a performance monitoring tool for Linux. It provides an ncurses interface as well as the ability to save the data to a CSV file. elmon is based on nmon by Nigel Griffiths and the CSV output is compatible with nmon processing tools. elmon provides performance information on CPU, memory, network, disk, file system usage, etc. If you are familiar with nmon, here are the additional features that elmon supports o Multi-column output. o Interactive Help Menu o Stat sections are displayed in the order that the user enables them o Long term CPU graph will use up the entire width of the screen o Supports subsecond screen refreshes o New Memory/Swap graph o Multiple bug fixes (including several bug fixes supplied by David Baril on nmon forum).

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

Install elmon 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 elmon using dnf by running the following command:

sudo dnf -y install elmon

Install elmon 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 elmon using yum by running the following command:

sudo yum -y install elmon

How To Uninstall elmon on Rocky Linux 8

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

sudo dnf remove elmon

elmon Package Contents on Rocky Linux 8

/usr/bin/elmon
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/c899945ad62ba8c5ec0a51fae9f2380cdfc6ac
/usr/share/doc/elmon
/usr/share/doc/elmon/change_log.txt
/usr/share/licenses/elmon
/usr/share/licenses/elmon/license.txt

References

Summary

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