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.