How To Install collectl on Fedora 34

collectl is A utility to collect various Linux performance data

Introduction

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

What is collectl

A utility to collect Linux performance data

We can use yum or dnf to install collectl on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install collectl.

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

sudo dnf -y install collectl

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

sudo yum -y install collectl

How To Uninstall collectl on Fedora 34

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

sudo dnf remove collectl

collectl Package Contents on Fedora 34

/etc/collectl.conf
/etc/sysconfig/collectl
/usr/bin/collectl
/usr/bin/colmux
/usr/lib/systemd/system/collectl.service
/usr/share/collectl
/usr/share/collectl/envrules.std
/usr/share/collectl/formatit.ph
/usr/share/collectl/gexpr.ph
/usr/share/collectl/graphite.ph
/usr/share/collectl/hello.ph
/usr/share/collectl/lexpr.ph
/usr/share/collectl/misc.ph
/usr/share/collectl/proctree.ph
/usr/share/collectl/statsd.ph
/usr/share/collectl/utils
/usr/share/collectl/utils/client.pl
/usr/share/collectl/vmstat.ph
/usr/share/collectl/vmsum.ph
/usr/share/collectl/vnet.ph
/usr/share/doc/collectl
/usr/share/doc/collectl/ARTISTIC
/usr/share/doc/collectl/COPYING
/usr/share/doc/collectl/GPL
/usr/share/doc/collectl/RELEASE-collectl
/usr/share/doc/collectl/html
/usr/share/doc/collectl/html/BuddyInfo.html
/usr/share/doc/collectl/html/CPUs.html
/usr/share/doc/collectl/html/ColmuxCPU.jpg
/usr/share/doc/collectl/html/ColmuxLustre.jpg
/usr/share/doc/collectl/html/Data-brief.html
/usr/share/doc/collectl/html/Data-detail.html
/usr/share/doc/collectl/html/Data-verbose.html
/usr/share/doc/collectl/html/Data.html
/usr/share/doc/collectl/html/Disks.html
/usr/share/doc/collectl/html/Documentation.html
/usr/share/doc/collectl/html/Environmental.html
/usr/share/doc/collectl/html/Examples.html
/usr/share/doc/collectl/html/Exceptions.html
/usr/share/doc/collectl/html/Export.html
/usr/share/doc/collectl/html/FAQ-collectl.html
/usr/share/doc/collectl/html/FileNaming.html
/usr/share/doc/collectl/html/Ganglia.jpg
/usr/share/doc/collectl/html/Ganglia2.jpg
/usr/share/doc/collectl/html/Ganglia3.jpg
/usr/share/doc/collectl/html/Gexpr.html
/usr/share/doc/collectl/html/Graphite.html
/usr/share/doc/collectl/html/Hello.html
/usr/share/doc/collectl/html/HiResTime.html
/usr/share/doc/collectl/html/Import.html
/usr/share/doc/collectl/html/Infiniband.html
/usr/share/doc/collectl/html/Inodes.html
/usr/share/doc/collectl/html/InputFiles.html
/usr/share/doc/collectl/html/Interrupts.html
/usr/share/doc/collectl/html/Logging.html
/usr/share/doc/collectl/html/Lustre.html
/usr/share/doc/collectl/html/Matrix.html
/usr/share/doc/collectl/html/Memory.html
/usr/share/doc/collectl/html/Messages.html
/usr/share/doc/collectl/html/Misc.html
/usr/share/doc/collectl/html/Network.html
/usr/share/doc/collectl/html/NfsInfo.html
/usr/share/doc/collectl/html/OpenStack.html
/usr/share/doc/collectl/html/OperationalModes.html
/usr/share/doc/collectl/html/OutputFiles.html
/usr/share/doc/collectl/html/OutputFormats.html
/usr/share/doc/collectl/html/Performance.html
/usr/share/doc/collectl/html/Playback.html
/usr/share/doc/collectl/html/Plotfiles.html
/usr/share/doc/collectl/html/Process.html
/usr/share/doc/collectl/html/RunningAsAService.html
/usr/share/doc/collectl/html/SlabInfo.html
/usr/share/doc/collectl/html/SlowProc.html
/usr/share/doc/collectl/html/Socket.html
/usr/share/doc/collectl/html/Sockets.html
/usr/share/doc/collectl/html/Startup.html
/usr/share/doc/collectl/html/TheMath.html
/usr/share/doc/collectl/html/Tutorial-Lustre.html
/usr/share/doc/collectl/html/Tutorial.html
/usr/share/doc/collectl/html/WhySummary.html
/usr/share/doc/collectl/html/colmux.html
/usr/share/doc/collectl/html/slub.jpg
/usr/share/doc/collectl/html/style.css
/usr/share/man/man1/collectl.1.gz
/usr/share/man/man1/colmux.1.gz
/var/log/collectl

References

Summary

In this tutorial we learn how to install collectl on Fedora 34 using yum and dnf.