Check out the disk_io field in /proc/stat.
On Wed, Jan 24, 2001 at 11:52:36AM +1100, Michael McLeod wrote:
> Hello
>
> I am hoping someone can give me a little information or point me in the
> right direction. I would like to write an application that monitors I/O
> on a linux machine, but I need some help in determining where to get the
> information I'm looking for. What I would like to do is 'hook' into the
> kernel and record information such as volume name, type of request (read
> or write), the amount of data being read or written, how long each
> transaction takes....
>
> Any help would be greatly appreciated, or if there is something like
> this already available that would be even better. Thanx
>
> Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:29 EST