How To Install atop on CentOS 7

In this tutorial we learn how to install atop on CentOS 7. atop is An advanced interactive monitor to view the load on system and

Introduction

In this tutorial we learn how to install atop on CentOS 7.

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

Install atop on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install atop using yum by running the following command:

sudo yum -y install atop

Install atop on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install atop using dnf by running the following command:

sudo dnf -y install atop

How To Uninstall atop on CentOS 7

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

sudo dnf remove atop

References

Summary

In this tutorial we learn how to install atop on CentOS 7 using yum and dnf.