Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   mlelstv
Date:           Tue Jul  4 21:19:33 UTC 2017

Modified Files:
        src/usr.bin/vmstat: drvstats.c drvstats.h vmstat.c
        src/usr.sbin/iostat: iostat.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/vmstat/drvstats.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/vmstat/drvstats.h
cvs rdiff -u -r1.216 -r1.217 src/usr.bin/vmstat/vmstat.c
cvs rdiff -u -r1.64 -r1.65 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.




Home | Main Index | Thread Index | Old Index