Monitoring ZFS IO

Ronald Klop ronald-freebsd8 at klop.yi.org
Fri Dec 2 14:47:44 UTC 2011


On Fri, 02 Dec 2011 14:50:29 +0100, Matt Burke <mattblists at icritical.com>  
wrote:

> Can someone enlighten me as to how to get 'iostat -Id' or 'iostat -Idx'
> style counters for zpools?
>
> I've read through the man pages, but all I can see is 'zpool iostat'  
> which
> gives values which appear to be averaged over an unspecified time period.
>
>
> With a 30-disk zpool, I can't fathom out how to get any meaningful data
> from the individual disk stats, and keeping a daemon running 'zpool  
> iostat
> N' just to parse its output seems hugely inefficient and hacky...
>
>
>
> Thanks.
>

while true; do gstat -b -I 1s; done


More information about the freebsd-fs mailing list