Jul 132009

Sponsored Link

iotop does for I/O usage what top does for CPU usage. It watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and displays a table of current I/O usage by processes on the system. Handy for answering the question "Why is my disk churning so much?".
Install iotop in debian

#apt-get install iotop

This will complete the installation.

Using iotop

type iotop in your terminal and you will get a regularly updated list of processes and the amount of I/O they are currently using: reads and writesin bytes per second, and percentage of time spent swapping and waiting for I/O.


iotop needs the CONFIG_TASK_DELAY_ACCT and CONFIG_TASK_IO_ACCOUNTING options enabled in the kernel; in Debian stock kernels, that’s already the case.



Sponsored Link

 Posted by at 12:02 am

  4 Responses to “iotop – simple top-like I/O monitor”

  1. For monitoring IO usage, check nethogs and as well as speedometer

  2. use the -o switch to view only the process actually doing I/O, instead of all the processes.
    [code]iotop -o[/code]

  3. great tool to watch the Hd workload, i can recommend htop instead of old plain top

  4. use the -d for delay between iterations , here i will use 3s delay
    iotop -o -d 3

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>