[wplug] tracking processes writing to disk

Michael Skowvron michaels at penguincentral.org
Wed Mar 4 14:23:58 EST 2009


Patrick Wagstrom wrote:
> Is there a tool that lets me list processes and appends that information
> with disk IO info?

Per-process I/O accounting didn't exist in the Linux kernel prior to around 2.6.20. From
that point on, you have to enable CONFIG_TASK_XACCT in the kernel to get the extended
accounting, which includes the per-process I/O stats.

Once enabled, find the I/O stats in /proc/pid/io.

Michael


More information about the wplug mailing list