On 29/01/2008, Pietro Cerutti <[EMAIL PROTECTED]> 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to