Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 10:35:51 +0000
From:      Chris Elsworth <chris@shagged.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Disk statistics since boot?
Message-ID:  <20050203103551.GA83867@shagged.org>
In-Reply-To: <1303.1107371356@critter.freebsd.dk>
References:  <20050202111738.GA91357@shagged.org> <1303.1107371356@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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