How To Install iotop.noarch on Amazon Linux 2

In this tutorial we learn how to install iotop.noarch in Amazon Linux 2. iotop.noarch is Top like utility for I/O

Introduction

In this tutorial we learn how to install iotop.noarch on Amazon Linux 2.

What is iotop.noarch

Linux has always been able to show how much I/O was going on (the bi and bo columns of the vmstat 1 command). iotop is a Python program with a top like UI used to show of behalf of which process is the I/O going on.

We can use yum to install iotop.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install iotop.noarch.

Install iotop.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install iotop.noarch using yum by running the following command:

sudo yum -y install iotop.noarch

How To Uninstall iotop.noarch on Amazon Linux 2

To uninstall only the iotop.noarch package we can use the following command:

sudo yum remove iotop.noarch

iotop.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/iotop
/usr/lib/python2.7/site-packages/iotop-0.6-py2.7.egg-info
/usr/lib/python2.7/site-packages/iotop/__init__.py
/usr/lib/python2.7/site-packages/iotop/__init__.pyc
/usr/lib/python2.7/site-packages/iotop/__init__.pyo
/usr/lib/python2.7/site-packages/iotop/data.py
/usr/lib/python2.7/site-packages/iotop/data.pyc
/usr/lib/python2.7/site-packages/iotop/data.pyo
/usr/lib/python2.7/site-packages/iotop/genetlink.py
/usr/lib/python2.7/site-packages/iotop/genetlink.pyc
/usr/lib/python2.7/site-packages/iotop/genetlink.pyo
/usr/lib/python2.7/site-packages/iotop/ioprio.py
/usr/lib/python2.7/site-packages/iotop/ioprio.pyc
/usr/lib/python2.7/site-packages/iotop/ioprio.pyo
/usr/lib/python2.7/site-packages/iotop/netlink.py
/usr/lib/python2.7/site-packages/iotop/netlink.pyc
/usr/lib/python2.7/site-packages/iotop/netlink.pyo
/usr/lib/python2.7/site-packages/iotop/ui.py
/usr/lib/python2.7/site-packages/iotop/ui.pyc
/usr/lib/python2.7/site-packages/iotop/ui.pyo
/usr/lib/python2.7/site-packages/iotop/version.py
/usr/lib/python2.7/site-packages/iotop/version.pyc
/usr/lib/python2.7/site-packages/iotop/version.pyo
/usr/lib/python2.7/site-packages/iotop/vmstat.py
/usr/lib/python2.7/site-packages/iotop/vmstat.pyc
/usr/lib/python2.7/site-packages/iotop/vmstat.pyo
/usr/sbin/iotop
/usr/share/doc/iotop-0.6
/usr/share/doc/iotop-0.6/COPYING
/usr/share/doc/iotop-0.6/NEWS
/usr/share/doc/iotop-0.6/THANKS
/usr/share/man/man8/iotop.8.gz

References

Summary

In this tutorial we learn how to install iotop.noarch on Amazon Linux 2 using yum.