what tool to find what's writing to disk

Jonathan Hudson jh+ubuntu at daria.co.uk
Sat Apr 15 18:19:42 UTC 2006


Jonathan Hudson wrote:

> as root:
> 
> echo 1 > /proc/sys/vm/block_dump
> 
> Then monitor dmesg to see what processes are accessing the disk. When
> done turn it off (echo 0 etc), as it fills the logs.
> 
> -jonathan
> 

Forgot to say, you should turn syslogd off first, otherwise you end up
in a vicious spiral of logged disk activity.

-jonathan





More information about the ubuntu-users mailing list