the name is iotop – like htop shows you the usage of your cpu and RAM – iotop shows you the usage of input/output devices 🙂 so you can find the process that is consuming all your harddisk resources.

greeeeeat 🙂

apt-get install iotop

root@server:/home/user# iotop

Total DISK READ: 0.00 B/s | Total DISK WRITE: 1149.70 K/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
  191 be/3 root        0.00 B/s   35.43 M/s  0.00 % 45.56 % [jbd2/sda2-8]
  190 be/4 root        0.00 B/s    7.72 K/s  0.00 %  0.00 % [flush-8:0]
 5399 be/4 root        0.00 B/s   68.18 M/s  0.00 %  0.00 % mailserver /opt/mailserver/mailserver
    3 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [migration/0]
    4 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [ksoftirqd/0]
    5 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [watchdog/0]
    6 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [migration/1]
    7 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [ksoftirqd/1]
    8 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [watchdog/1]
    9 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [events/0]
   10 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [events/1]
   11 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [cpuset]
   12 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [khelper]
   13 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [netns]
   14 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [async/mgr]
   15 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [pm]
   16 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [sync_supers]
   17 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [bdi-default]
   18 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kintegrityd/0]
   19 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kintegrityd/1]
   20 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kblockd/0]
   21 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kblockd/1]
   22 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kacpid]
   23 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kacpi_notify]
   24 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kacpi_hotplug]
   25 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kseriod]
   26 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kondemand/0]
   27 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kondemand/1]
 7708 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % mailserver /opt/mailserver/mailserver
 
admin