Date: Wed, 02 Feb 2005 20:09:16 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Chris Elsworth <chris@shagged.org> Cc: freebsd-geom@freebsd.org Subject: Re: Disk statistics since boot? Message-ID: <1303.1107371356@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 02 Feb 2005 11:17:38 GMT." <20050202111738.GA91357@shagged.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050202111738.GA91357@shagged.org>, Chris Elsworth writes: >Hello, > >I'm sure there must be a way to do this, but I'm having a good deal of >trouble finding it. > >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. > >I haven't tried snmpd with UCD-DISKIO-MIB yet, but I'd rather not have >to use that to get the values. > >Is this possible, or is it something that might make it into future >versions of geom classes? the info is all there, look at the gstat source code and modify as necessary. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1303.1107371356>
