From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 14 22:23:24 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CF451065672; Tue, 14 Jul 2009 22:23:24 +0000 (UTC) (envelope-from prvs=14395d223a=brian@FreeBSD.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 38D588FC14; Tue, 14 Jul 2009 22:23:23 +0000 (UTC) (envelope-from prvs=14395d223a=brian@FreeBSD.org) Received: from pd3ml2so-ssvc.prod.shaw.ca ([10.0.141.138]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 14 Jul 2009 15:55:02 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=2Bce08JPMMMA:10 a=4Z0QP1WVBuUwHZGQKe2N1A==:17 a=6I5d2MoRAAAA:8 a=MMwg4So0AAAA:8 a=gOhR4Zn30islFdwkyB0A:9 a=tzvay4HcvqmBmYZEesGSF76i07AA:4 a=SV7veod9ZcQA:10 a=WJ3hkfHDukgA:10 Received: from unknown (HELO store.lan.Awfulhak.org) ([174.7.23.140]) by pd3ml2so-dmz.prod.shaw.ca with ESMTP; 14 Jul 2009 15:55:01 -0600 Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 95413C433AC_A5CFEF4B; Tue, 14 Jul 2009 21:56:04 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Sophos Email Appliance) with ESMTP id F3AEEC460F7_A5CFEF1F; Tue, 14 Jul 2009 21:56:01 +0000 (GMT) Received: from localhost (brian@gw.lan.Awfulhak.org [172.16.0.1]) by gw.Awfulhak.org (8.14.3/8.14.3) with ESMTP id n6ELsvOt033714; Tue, 14 Jul 2009 14:54:57 -0700 (PDT) (envelope-from brian@FreeBSD.org) Date: Tue, 14 Jul 2009 14:55:15 -0700 From: Brian Somers To: Giorgos Keramidas Message-ID: <20090714145515.43e309ca@Awfulhak.org> In-Reply-To: <87d483q4en.fsf@kobe.laptop> References: <87d483q4en.fsf@kobe.laptop> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: can we afford an extra column in iostat? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 22:23:24 -0000 On Tue, 14 Jul 2009 07:23:12 +0300, Giorgos Keramidas wrote: > While converting my laptop's main disk to zfs, I noticed iostat output > like this (bits copied from here and there): > > | keramida@kobe:/home/keramida$ iostat -w3 ad0 da0 > | tty ad0 da0 cpu > | tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id > | 5 2119 36.29 56 2.00 54.95 7 0.35 3 0 8 0 89 > | 0 9478 10.90 290 3.09 57.22 12 0.67 42 0 43 0 15 > | 012595 1.72 213 0.36 21.36 80 1.66 48 0 48 0 4 > | 050042 4.56 715 3.19 11.44 164 1.83 29 0 50 1 20 > | 11529568 7.34 443 3.17 16.97 165 2.74 31 0 53 0 16 >[.....] > | $ ./iostat -w2 > | tty ad0 md0 da0 cpu > | tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id > | 7 2570 32.92 62 1.98 6.46 0 0.00 43.44 10 0.41 4 0 9 0 87 > | 0 36506 0.99 507 0.49 0.00 0 0.00 20.13 155 3.04 34 0 56 1 9 > | 0 16695 0.83 226 0.18 0.00 0 0.00 26.16 97 2.48 35 0 56 0 9 > | 0 24158 10.63 428 4.45 0.00 0 0.00 14.44 137 1.93 32 0 51 0 17 > | ^C > > The patch that changes this is quite small: This should be fixed. Ironically, the only people that usually have problems with fixes like this are people that have seen the fields merge and have adjusted some script to understand column widths! -- Brian Somers Don't _EVER_ lose your sense of humour !