[ltp] HDD access avery 5 seconds?

Robert Munteanu linux-thinkpad@linux-thinkpad.org
Thu, 14 Aug 2008 19:48:52 +0300


2008/8/14 Richard Neill <rn214@hermes.cam.ac.uk>:
>
> However, that isn't really the root cause. What I want to know is:
> How do I identify which *process* is accessing the filesystem (and thereby
> causing disk access) when the machine is idle.
>

You can try getting the pids active at one time and then running a

strace -e trace=file -p $PID > $PID.log

for each one of them. This of course assumes that there are not
short-lived processes spawned which write to disk.

Robert