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.
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.
You can check the IO usage of any process by looking at the
/proc/[pid]/io
file. Example: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
. thentail -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.