Linux – How to find out which process is consuming “wait CPU” (i.e. I/O blocked)


With top it's easy to find out how much CPU each job uses. However, I want to hunt down a job that causes a high wait CPU. Is there a way to find out which jobs are blocked on I/O?

Best Solution

The processes blocked on IO are the ones marked as D in the status column (S column in top).