Monitoring disk activity using block_dump

29 Oct 2009

A couple of good links [1][2] came up on the Axxs collective email list about monitoring disk activity under Linux using block_dump.

In a nutshell:

kern.debug setup in syslog.conf (it often is; if sync is used disk activity will obviously be greater)

echo 1 >/proc/sys/vm/block_dump
wait n seconds
echo 0 >/proc/sys/vm/block_dump

Do various grep'ing on /var/log/debug for READ, WRITE, inode, block, etc

Thanks to Andrew Mc & Torrance.

comments powered by Disqus

  « Previous: Next: »