How To Install atop on Rocky Linux 8

In this tutorial we learn how to install atop on Rocky Linux 8. atop is An advanced interactive monitor to view the load on system and process level

Introduction

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

What is atop

An advanced interactive monitor for Linux-systems to view the load on system-level and process-level. The command atop has some major advantages compared to other performance-monitors - Resource consumption by all processes - Utilization of all relevant resources - Permanent logging of resource utilization - Highlight critical resources - Watch activity only - Watch deviations only - Accumulated process activity per user - Accumulated process activity per program For more informations The package does not make use of the patches available at http

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

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

sudo dnf -y install atop

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

sudo yum -y install atop

How To Uninstall atop on Rocky Linux 8

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

sudo dnf remove atop

atop Package Contents on Rocky Linux 8

/etc/sysconfig/atop
/usr/bin/atop
/usr/bin/atopconvert
/usr/bin/atopd
/usr/bin/atopsar
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/f6f60d11a619c10f1f60fd3980453b9e57c322
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/6d842f07732f30939b8688246ca50cd1549f04
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/5950cd9b1d4b58a5e02d096a9292113d1b8942
/usr/lib/systemd/system/atop-rotate.service
/usr/lib/systemd/system/atop-rotate.timer
/usr/lib/systemd/system/atop.service
/usr/lib/systemd/system/atopacct.service
/usr/lib/systemd/system/atopgpu.service
/usr/sbin/atopacctd
/usr/sbin/atopgpud
/usr/share/atop/atop.daily
/usr/share/doc/atop
/usr/share/doc/atop/AUTHOR
/usr/share/doc/atop/COPYING
/usr/share/doc/atop/README
/usr/share/man/man1/atop.1.gz
/usr/share/man/man1/atopsar.1.gz
/var/log/atop

References

Summary

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