Determine which process is taking most of disk bandwidth

diskiomonitoring

When the HDD indicator is blinking (for a long period), how could I know which process is taking most disk bandwidth?

Best Answer

Using iotop.

Iotop is a Python program with a top like UI used to show of behalf of which process is the I/O going on. It requires Python ≥ 2.5 (or Python ≥ 2.4 with the ctypes module) and a Linux kernel ≥ 2.6.20 with the TASK_DELAY_ACCT CONFIG_TASKSTATS, TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS options on.

enter image description here

Related Question