Sometimes, especially upon login, I have a lot of disk activity. I can use
iotop to see what's doing that at a given moment, but I would like to have an integral table over a given time, say the first 5 minutes after I run it.
I'm interested in the percentage breakdown of the disk activity each program was using over the 5 minutes in total.
Is there a tool or a simple script I can run for that cause?