From owner-freebsd-stable@freebsd.org Sun Aug 19 14:30:48 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B0F9106A3F7 for ; Sun, 19 Aug 2018 14:30:48 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A2C978FDF; Sun, 19 Aug 2018 14:30:47 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w7JEUeZO042417 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 19 Aug 2018 07:30:40 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w7JEUdIE042415; Sun, 19 Aug 2018 07:30:39 -0700 (PDT) (envelope-from jmg) Date: Sun, 19 Aug 2018 07:30:39 -0700 From: John-Mark Gurney To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-stable@freebsd.org, will@FreeBSD.org Subject: Re: changes in iostat output in 11.x vs 10.x Message-ID: <20180819143039.GD97145@funkthat.com> Mail-Followup-To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-stable@freebsd.org, will@FreeBSD.org References: <906cc905-5d1f-6792-e998-4bbd77d4f043@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <906cc905-5d1f-6792-e998-4bbd77d4f043@quip.cz> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Sun, 19 Aug 2018 07:30:40 -0700 (PDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2018 14:30:48 -0000 Miroslav Lachman wrote this message on Sun, Aug 19, 2018 at 02:29 +0200: > I upgraded one of our servers from 10.4 to 11.2 and scripts using output > of "iostat -x" are not working anymore. > A checked the output of iostat and it is different. Looks like this was changed in r277566[1] by will. I've cc'd him. There is no documentation change associated w/ this change. [1] https://svnweb.freebsd.org/base?view=revision&revision=277566 > # on 10.4 > > # iostat -w 5 -c 2 -x ada0 ada1 > extended device statistics > device r/s w/s kr/s kw/s qlen svc_t %b > ada0 51.5 28.3 1381.4 539.7 0 9.7 33 > ada1 51.4 28.2 1381.5 539.7 0 10.1 34 > extended device statistics > device r/s w/s kr/s kw/s qlen svc_t %b > ada0 0.2 6.4 2.4 136.5 0 2.9 2 > ada1 0.0 5.8 0.0 136.5 0 3.4 2 > > > # on 11.2 > > # iostat -w 5 -c 2 -x ada0 ada1 > extended device statistics > device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b > ada0 6 24 35.9 697.9 2 1 77 3 0 6 > ada1 6 23 34.9 697.9 2 1 77 3 0 6 > extended device statistics > device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b > ada0 0 21 0.0 776.6 0 0 96 2 0 5 > ada1 0 21 0.0 776.6 0 0 100 2 0 5 > > But I cannot find the explanation of new columns. The manpage seems the > same for 10.4 and 11.2 > > The extended iostat device display, with the -x flag specified, > shows the following statistics: > > r/s read operations per second > w/s write operations per second > kr/s kilobytes read per second > kw/s kilobytes write per second > qlen transactions queue length > svc_t average duration of transactions, in milliseconds > %b % of time the device had one or more outstanding transac- > tions > > But there is no svc_t column anymore and there are ms/r ms/w ms/o and > ms/t columns not mentioned in man page. > > Is it a documentation bug? > > Is ms/t the same what was previously known as svc_t? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."