[lkml]   [2001]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: monitoring I/O

I can offer the GKHI we put together to make kernel hooks easy to add an
manage. If you know which code paths you need to peek then you can write
you monitor as a kernel mod - user mod pair. The kernel mod will accumulate
the stats, the user mod will extract and report the stats. See the web page
below if you're interested - but note we're very shortly to release a new
version of the GKHI.

Another options is to use dynamic probes - this will require not kernel
modificaitons - again to have to know exactly where you want to place the
probes. Again see the web page below for details.


Richard Moore - RAS Project Lead - Linux Technology Centre (PISC).
Office: (+44) (0)1962-817072, Mobile: (+44) (0)7768-298183
IBM UK Ltd, MP135 Galileo Centre, Hursley Park, Winchester, SO21 2JN, UK

Daniel Kobras <> on 24/01/2001 11:57:45

Please respond to Daniel Kobras <>

To: Michael McLeod <>
cc: Nicholas Dronen <>,
Subject: Re: monitoring I/O

On Tue, 23 Jan 2001, Nicholas Dronen wrote:

> Check out the disk_io field in /proc/stat.

Which unfortunately provides only some pieces of information Michael wants
to gather. SCT's sard patches give you much improved statistics that
should basically do what you want. I'm not sure of the current location of
the sard patches but as RedHat puts sard in its kernel, it should be
available somewhere on, I suppose. Check out the sysstat
package for userlevel tools. Earlier versions of sard can be found at

> On Wed, Jan 24, 2001 at 11:52:36AM +1100, Michael McLeod wrote:
> > 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
> > on a linux machine, but I need some help in determining where to get
> > information I'm looking for. What I would like to do is 'hook' into
> > kernel and record information such as volume name, type of request
> > or write), the amount of data being read or written, how long each
> > transaction takes....



GNU/Linux Audio Mechanics -
Cutting Edge Office -
GPG Key ID 89BF7E2B -

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.031 / U:2.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site