How To Install elmon on CentOS 8
Introduction
In this tutorial we learn how to install elmon
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install elmon.
Install elmon on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install elmon
using dnf
by running the following command:
sudo dnf -y install elmon
Install elmon on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the elmon
package we can use the following command:
sudo dnf remove elmon
elmon Package Contents on CentOS 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 CentOS 8 using yum and dnf.