How To Install iotop-c on Kali Linux

In this tutorial we learn how to install iotop-c on Kali Linux. iotop-c is simple top-like I/O monitor (implemented in C)

Introduction

In this tutorial we learn how to install iotop-c on Kali Linux.

What is iotop-c

iotop-c is:

iotop-c does for I/O usage what top(1) does for CPU usage. It watches I/O usage information output by the Linux kernel and displays a table of current I/O usage by processes on the system. It is handy for answering the question “Why is the disk churning so much?”.

iotop-c requires a Linux kernel built with the CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS config options on.

iotop-c is an alternative re-implementation of iotop in C, optimized for performance. Normally a monitoring tool intended to be used on a system under heavy stress should use the least additional resources as possible.

There are three methods to install iotop-c on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install iotop-c Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install iotop-c using apt-get by running the following command:

sudo apt-get -y install iotop-c

Install iotop-c Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install iotop-c using apt by running the following command:

sudo apt -y install iotop-c

Install iotop-c Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install iotop-c using aptitude by running the following command:

sudo aptitude -y install iotop-c

How To Uninstall iotop-c on Kali Linux

To uninstall only the iotop-c package we can use the following command:

sudo apt-get remove iotop-c

Uninstall iotop-c And Its Dependencies

To uninstall iotop-c and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove iotop-c

Remove iotop-c Configurations and Data

To remove iotop-c configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge iotop-c

Remove iotop-c configuration, data, and all of its dependencies

We can use the following command to remove iotop-c configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge iotop-c

Dependencies

iotop-c have the following dependencies:

References

Summary

In this tutorial we learn how to install iotop-c package on Kali Linux using different package management tools: apt, apt-get and aptitude.