Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any way to get another process's I/O statistics?

1 view
Skip to first unread message

Yong Huang

unread,
Jul 4, 2002, 4:54:40 PM7/4/02
to
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

0 new messages