Disk statistics since boot?
Chris Elsworth
chris at shagged.org
Thu Feb 3 02:35:56 PST 2005
On Wed, Feb 02, 2005 at 08:09:16PM +0100, Poul-Henning Kamp wrote:
> >
> >I'd like to be able to see how many transactions have been done and
> >how many bytes have been read/written to a given disk since boot. The
> >closest I can seem to get is iostat -dI, but that doesn't separate the
> >values out into read and write.
>
> the info is all there, look at the gstat source code and modify
> as necessary.
Hello,
Got it, devstat_compute_statistics() with a NULL second arg. Thanks for
the pointer :)
--
Chris
More information about the freebsd-geom
mailing list