On Tue, Jan 11, 2005 at 12:26:52AM +0200, Tzahi Fadida wrote: > I am looking for io statistics per process in Linux. > I need to count the number of read/write blocks from the > magnetic disk a process performs.
Are you ignoring the caches here? > I am looking for a utility that does that and especially > a c library since I am in control of that process internal > programming. This is information that has to be exported from the kernel. I think tha laptop mode patches (merged in 2.6) include at least some of this, and can probably be extended to give you the rest. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]