CentOS / RHEL: Install atop (Advanced System & Process Monitor) Utility

I do not like top. How do I install Advanced System & Process Monitor tool called atop on CentOS or Red Hat Enterprise Linux 5.x/6.x+ based system using yum command?

You can install atop on CentOS/RHEL/Fedora Linux using EPEL repo. From the man page:


Tutorial details
DifficultyEasy (rss)
Root privilegesYes

The program atop is an interactive monitor to view the load on a Linux system. It shows the occupation of the most critical hardware resources (from a performance point of view) on system level, i.e. cpu, memory, disk and network. It also shows which processes are responsible for the indicated load with respect to cpu- and memory load on process level. Disk load is shown if per process “storage accounting” is active in the kernel or if the kernel patch ‘cnt’ has been installed. Network load is only shown per process if the kernel patch ‘cnt’ has been installed.

Install atop on CentOS/RHEL/Red hat Linux using yum

First you need to enable EPEL repo as described here to install atop. Type the following yum command:
# yum install atop
Sample outputs:

Loaded plugins: product-id, protectbase, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package atop.x86_64 0:1.27-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
 Package     Arch          Version              Repository   Size
 atop        x86_64        1.27-1.el6           epel        106 k
Transaction Summary
Install       1 Package(s)
Total download size: 106 k
Installed size: 229 k
Is this ok [y/N]: y
Downloading Packages:
atop-1.27-1.el6.x86_64.rpm                 | 106 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : atop-1.27-1.el6.x86_64                         1/1 
  Verifying  : atop-1.27-1.el6.x86_64                         1/1 
  atop.x86_64 0:1.27-1.el6                                        

How do I use atop program?

Type the following command as root user:
# atop
Sample outputs:

Fig.01: atop command in action

Fig.01: atop command in action

atop command examples

Here are some conman atop command examples:

To see active processes only

# atop -a

Display individual threads

# atop -y

Display average-per-second i.s.o. total values

# atop -1

Display memory-related process-info
# atop -m

Display disk-related process-info

# atop -d

Display network-related process-info

# atop -n

Display scheduling-related process-info

# atop -s

Display various process-info (ppid, user/group, date/time)

# atop -v

Display command line per process

# atop -c

Sorting option

Pass the following option to sort your process:

	  -C  sort processes in order of cpu-consumption (default)
	  -M  sort processes in order of memory-consumption
	  -D  sort processes in order of disk-activity
	  -N  sort processes in order of network-activity
	  -A  sort processes in order of most active resource (auto mode)

See atop(1) command man page for more information.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.