From owner-freebsd-stable@freebsd.org Sun Aug 19 00:29:13 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 91281107A701 for ; Sun, 19 Aug 2018 00:29:13 +0000 (UTC) (envelope-from SRS0=u+Y1=LC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C72F7E0D9 for ; Sun, 19 Aug 2018 00:29:12 +0000 (UTC) (envelope-from SRS0=u+Y1=LC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A95DA28416 for ; Sun, 19 Aug 2018 02:29:03 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C11EE28412 for ; Sun, 19 Aug 2018 02:29:02 +0200 (CEST) To: freebsd-stable@freebsd.org From: Miroslav Lachman <000.fbsd@quip.cz> Subject: changes in iostat output in 11.x vs 10.x Message-ID: <906cc905-5d1f-6792-e998-4bbd77d4f043@quip.cz> Date: Sun, 19 Aug 2018 02:29:01 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 00:29:13 -0000 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. # 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? Kind regards Miroslav Lachman