How To Install elmon on Fedora 34

elmon is Performance monitoring tool

Introduction

In this tutorial we learn how to install elmon on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install elmon.

Install elmon on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove elmon

elmon Package Contents on Fedora 34

/usr/bin/elmon
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/59d708878f6f5c5234c12f29ed954566c562b2
/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 Fedora 34 using yum and dnf.