Monitoring ZFS IO

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Fri Dec 2 17:37:30 UTC 2011


On Fri, 2 Dec 2011, Matt Burke wrote:

> On 12/02/11 14:47, Ronald Klop wrote:
>> while true; do gstat -b -I 1s; done
>
> Looks like I wasn't clear about what I'm after - sorry.
>
> I want to see how many bytes or KB have been read and written to a given
> zpool since creation (as in the newer of uptime or zpool creation) on the
> system.

This implies that these statistics would need to be stored in the pool 
itself, which implies that the statistics need to be periodically 
written (e.g. in each transaction group) as a form of metadata.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the freebsd-fs mailing list