From owner-freebsd-fs@FreeBSD.ORG Fri Dec 2 20:02:58 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 12EE21065698 for ; Fri, 2 Dec 2011 20:02:58 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED378FC14 for ; Fri, 2 Dec 2011 20:02:57 +0000 (UTC) Received: by bkat2 with SMTP id t2so5015471bka.13 for ; Fri, 02 Dec 2011 12:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=wDSxHpqTZf5GPao/rmLBRkMYJwYiFcVratv48caXZ3c=; b=J040BbZ9fiCo172ZKse7VJVjDh3m6N6p5LIju7yOXy/NIMGYI1KvQy5lVoCw0nFdKT R54TfUMFvXH2J8v/CK0IdppRpejcXeDGYj98RjJ7+e0k0T925RXfQN1V+FXnhmpK+f9w dQlNZkzYtFfpRyzIP+j5aoh8esKhpsg0GuAf8= Received: by 10.180.7.164 with SMTP id k4mr11706491wia.52.1322856176259; Fri, 02 Dec 2011 12:02:56 -0800 (PST) Received: from DataIX.net (ppp-21.139.dialinfree.com. [209.172.21.139]) by mx.google.com with ESMTPS id em4sm11801877wbb.20.2011.12.02.12.02.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Dec 2011 12:02:55 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id pB2K2l5F039350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Dec 2011 15:02:47 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id pB2K2gXW039349; Fri, 2 Dec 2011 15:02:42 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Fri, 2 Dec 2011 15:02:41 -0500 From: Jason Hellenthal To: Bob Friesenhahn Message-ID: <20111202200241.GA38979@DataIX.net> References: <4ED8D7A5.7090700@icritical.com> <4ED8EC9A.2080706@icritical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 20:02:58 -0000 On Fri, Dec 02, 2011 at 11:37:28AM -0600, Bob Friesenhahn wrote: > 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. > I thought this was ( df -[h,b,m,g]) output... ;) zfs list ...