From owner-freebsd-fs@FreeBSD.ORG Fri Dec 2 15:19:57 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 EF07A1065679 for ; Fri, 2 Dec 2011 15:19:57 +0000 (UTC) (envelope-from mattblists@icritical.com) Received: from mail1.icritical.com (mail1.icritical.com [93.95.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 4EC148FC18 for ; Fri, 2 Dec 2011 15:19:56 +0000 (UTC) Received: (qmail 12557 invoked from network); 2 Dec 2011 15:19:59 -0000 Received: from localhost (127.0.0.1) by mail1.icritical.com with SMTP; 2 Dec 2011 15:19:59 -0000 Received: (qmail 12549 invoked by uid 599); 2 Dec 2011 15:19:59 -0000 Received: from unknown (HELO icritical.com) (212.57.254.146) by mail1.icritical.com (qpsmtpd/0.28) with ESMTP; Fri, 02 Dec 2011 15:19:59 +0000 Message-ID: <4ED8EC9A.2080706@icritical.com> Date: Fri, 02 Dec 2011 15:19:54 +0000 From: Matt Burke User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110403 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <4ED8D7A5.7090700@icritical.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Dec 2011 15:19:54.0628 (UTC) FILETIME=[D826DC40:01CCB105] X-Virus-Scanned: by iCritical at mail1.icritical.com 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 15:19:58 -0000 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. For instance I want this data: # time iostat -Idx extended device statistics device r/i w/i kr/i kw/i wait svc_t %b mfid0 284807.0 5469251.0 4452202.0 116634996.0 0 0.8 0 mfid1 284576.0 5466322.0 4474976.5 116510280.0 0 0.8 0 mfid2 278686.0 5450269.0 4418703.0 116511709.0 0 0.8 0 mfid3 281673.0 5452757.0 4439770.5 116560910.5 0 0.8 0 mfid4 279549.0 5472177.0 4440227.0 116609067.0 0 0.8 0 mfid5 282625.0 5464261.0 4503257.5 116608801.5 0 0.8 0 mfid6 275635.0 5470654.0 4433529.0 116616131.5 0 0.8 0 ... mfid27 302950.0 5464880.0 4434398.0 116542100.0 0 0.7 0 mfid28 281464.0 5459410.0 4461678.5 116595780.5 0 0.8 0 mfid29 277535.0 5468784.0 4443352.5 116642932.0 0 0.8 0 ... real 0m0.003s user 0m0.000s sys 0m0.007s For the zpool as a singular entitiy (or even by zfs filesystem), but not for the individual disks. Hope this clarifies my request a bit -- The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Critical Software Ltd. reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation. Critical Software Ltd. registered in England, 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. ------------------------------------------------------------ This message has been scanned for security threats by iCritical. For further information, please visit www.icritical.com ------------------------------------------------------------