From owner-freebsd-fs@FreeBSD.ORG Fri Dec 2 14:47:44 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7948E106566C for ; Fri, 2 Dec 2011 14:47:44 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0E18FC19 for ; Fri, 2 Dec 2011 14:47:44 +0000 (UTC) Received: from [212.182.167.131] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1RWUOt-00017h-51 for freebsd-fs@freebsd.org; Fri, 02 Dec 2011 15:47:43 +0100 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 81E4810527 for ; Fri, 2 Dec 2011 15:47:39 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org References: <4ED8D7A5.7090700@icritical.com> Date: Fri, 02 Dec 2011 15:47:38 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <4ED8D7A5.7090700@icritical.com> User-Agent: Opera Mail/11.52 (FreeBSD) Content-Transfer-Encoding: quoted-printable Subject: Re: Monitoring ZFS IO X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 14:47:44 -0000 On Fri, 02 Dec 2011 14:50:29 +0100, Matt Burke = =20 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' =20 > which > gives values which appear to be averaged over an unspecified time perio= d. > > > 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 =20 > iostat > N' just to parse its output seems hugely inefficient and hacky... > > > > Thanks. > while true; do gstat -b -I 1s; done