where is /proc/<pid>/IO ??
kernel 2.6.20 included new real-time process IO statistics.
Here is a fragment from the announcement:
So this IO accounting implements per-process statistics
of "storage I/O" (i.e.: I/O that _really_ does I/O on the storage device -
Linux already had I/O storage statistics but it's not per-task). The data
is reported through taskstats and procfs (/proc/$PID/io) (commit 1, 2, 3,
4, 5, 6, 7, 8, 10, 11)
I see no such thing in the several recent Linux distros I have tried out, with kernels up to 2.6.22. There are no /proc/<pid>/IO directories (I did see one of these, but the disk statistics were dead (small values that did not change)).
There must be something special I must do to enable this.
Where can I find information?