Received: by mail.netbsd.org (Postfix, from userid 605) id 955E684D52; Tue, 25 Jul 2017 01:43:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2695A84D45 for ; Tue, 25 Jul 2017 01:43:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rheZXKAM7L24 for ; Tue, 25 Jul 2017 01:43:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 92FB984CF0 for ; Tue, 25 Jul 2017 01:43:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8D622FAB0; Tue, 25 Jul 2017 01:43:37 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 25 Jul 2017 01:43:37 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-8] src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170725014337.8D622FAB0@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: snj Date: Tue Jul 25 01:43:37 UTC 2017 Modified Files: src/usr.bin/systat [netbsd-8]: iostat.c vmstat.c src/usr.bin/vmstat [netbsd-8]: drvstats.c drvstats.h vmstat.c src/usr.sbin/iostat [netbsd-8]: iostat.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.37.38.1 src/usr.bin/systat/iostat.c cvs rdiff -u -r1.81 -r1.81.8.1 src/usr.bin/systat/vmstat.c cvs rdiff -u -r1.10 -r1.10.4.1 src/usr.bin/vmstat/drvstats.c cvs rdiff -u -r1.4 -r1.4.4.1 src/usr.bin/vmstat/drvstats.h cvs rdiff -u -r1.216 -r1.216.6.1 src/usr.bin/vmstat/vmstat.c cvs rdiff -u -r1.64 -r1.64.4.1 src/usr.sbin/iostat/iostat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.