Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suggest me best way to list io bounded process. I know iotop is best way to get list but want any alternate option since my system showing a large number of D state process.

share|improve this question
up vote 7 down vote accepted

Duplicated of: Linux - How can I see what's waiting for disk IO see that URL for a simple solution.

And you can enable disk I/O logging putting 1 into /proc/sys/vm/block_dump. then tail -f /var/log/syslog will give you reads and writes (process, pid, operation, blocks and device). Do not forget to return /proc/sys/vm/block_dump to zero when you're done.

share|improve this answer
It's the kern.log and/or debug file on Debian based distributions. – fab Apr 18 '11 at 8:48

You can check the IO usage of any process by looking at the /proc/[pid]/io file. Example:

$ cat /proc/1775/io
read_bytes: 4366336
write_bytes: 45056
cancelled_write_bytes: 229376
share|improve this answer
iotop now requires NET_ADMIN capability (or sudo/root) to be run, so this is a great alternative than using setcap cap_net_admin+ep /usr/sbin/iotop I guess.. thx!! – Aquarius Power Jul 4 '13 at 22:16
You must actually set the cap_net_admin on python for this to work. setcap cap_net_admin+ep /usr/bin/python2.7 for example. – gam3 Aug 22 '14 at 11:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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