In Solaris, I can look at /proc/<PID>/usage and get <PID>'s pr_inblock
(inputted blocks), pr_oublock (outputted blocks) and pr_ioch (all io
character count) from struct prusage. I don't see a similar structure
in Linux. getrusage is not what I want because it only gives such
statistics for the current process or its children. Thanks for any
insight.
Yong Huang