Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 14:17:27 +0300
From:      pluknet <pluknet@gmail.com>
To:        "Pietro Cerutti" <gahr@gahr.ch>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: struct devstat's bytes[] meaning
Message-ID:  <a31046fc0801300317j6e0fe86eh955d3663bd152eba@mail.gmail.com>
In-Reply-To: <479F75D9.4070301@gahr.ch>
References:  <479F75D9.4070301@gahr.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29/01/2008, Pietro Cerutti <gahr@gahr.ch> wrote:
> Hi list,
>
> I'm trying to get device IO status (i.e. read and written bytes) by
> using the devstat interface, and I wrote this small program (mostly
> inspired by the gkrellm2 port freebsd.c system-dependent module).
[snip]
>
> Now, I suppose that those two numbers represent the amount of IO
> generated within some time slice, but I can't find any documentation on
> it...
>
Did you look at devstat(3) ?
I think there is all you need to know about devstat library.

wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0801300317j6e0fe86eh955d3663bd152eba>