iotop-py command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
iotop-py: command not found
or when using sudo you get the following error message
sudo: iotop-py: command not found
Solutions to iotop-py: command not found
How To Fix iotop-py: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu iotop-py is provided by iotop package.
iotop is:
iotop 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 can only run under a Linux 2.6.20 or later kernel built with the CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS build config options on.
To fix this problem, we can install more using the command below.
sudo apt-get -y install iotop
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install iotop.
sudo apt -y install iotop
Or if you have aptitude installed you can use the following command.
sudo aptitude install iotop
Summary
In this tutorial we learn how to fix iotop-py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.