Suppose I have a large number of processes and one (or more) is IO bound, obvious by a high wa value in top. How can I pinpoint which process it is? Each process shows how much cpu is being used, but how can I tell how much that process is causing the OS to wait due to IO?


sudo iotop gives you a nice, top-like overview of all disk io activty like this:

iotop of tar cjvf ...

To install, use sudo apt-get install iotop

| improve this answer | |

$ pidstat -d 5

Should print processes and their disk activity every 5 seconds. Pidstat can be found in the sysstat package.

$ sudo apt-get install sysstat

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.