Re: struct devstat's bytes[] meaning



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