Is there a way to view IO stats based on process in Ubuntu. I have an ubuntu server 10.10 that every once and while will grind on the hdd's for 30 seconds, I'm trying to figure out what is causing that. Thanks in advance. All I'm running on it is mysql however it happens even when mysql is not under any load (no connections just idle).
I use
iotop
(command line tool).iotop is doing the job most of the time. However, I found the following python script to be more useful:
(it shows only the currently active processes)