Ubuntu – Disk monitor software

alternativedisk-usagedisk-utilityiosoftware-recommendation

Can't find something similar to windows resource monitor software (input output monitor). I need tool which draws disk load graphic and processes which uses disk input or output. There are a lot of console alternatives (iotop), but they are not comfortable to use (i can't quickly kill process, copy name of process, look at the graph, they need root access etc.). Is there are gui alternative to this? (on screenshot)

Best Answer

The htop program doesn't require root access to see disk usage of your own processes and with a little configuration it lets you sort by read/write IO, and it's a great tool for interactively killing processes.

It's also terminal based, which has the advantage of working over SSH.

Go to F2 (Setup) and then select IO_READ_RATE and IO_WRITE_RATE.

Screenshot of htop steup with IO_READ_RATE and IO_WRITE_RATE selected.

After you're finished selecting columns, go to F10 (Done) and you will see the new columns, including IO_READ_RATE abbreviated as IORR and IO_WRITE_RATE abbreviated as IOWR.

You can sort by the relevant column with F6 (SortBy). This shows sorting by IORR. You can see that du and ioping are using the most.

Screenshot of htop default screen showing sorting by IO_READ_RATE

Note that for security reasons -- CVE-2011-2494 -- you cannot see disk usage by programs running as other users unless you run htop as root. (How many bytes a process uses could expose e.g. lengths of ssh usernames and passwords.)

Related questions:

https://superuser.com/questions/50091/how-do-i-find-out-what-processes-are-accessing-the-hard-disk-in-a-gnu-linux-base

https://serverfault.com/questions/169676/howto-check-disk-i-o-utilisation-per-process

https://stackoverflow.com/questions/14021810/finding-process-with-heavy-disk-i-o