From owner-freebsd-fs@FreeBSD.ORG Fri Dec 2 17:37:30 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 773C7106566C for ; Fri, 2 Dec 2011 17:37:30 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id 316A88FC0C for ; Fri, 2 Dec 2011 17:37:29 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id pB2HbSlj002102; Fri, 2 Dec 2011 11:37:29 -0600 (CST) Date: Fri, 2 Dec 2011 11:37:28 -0600 (CST) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Matt Burke In-Reply-To: <4ED8EC9A.2080706@icritical.com> Message-ID: References: <4ED8D7A5.7090700@icritical.com> <4ED8EC9A.2080706@icritical.com> User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Fri, 02 Dec 2011 11:37:29 -0600 (CST) Cc: freebsd-fs@freebsd.org 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 17:37:30 -0000 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@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/