Source-Changes archive

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

CVS commit: basesrc



Module Name:    basesrc
Committed By:   sommerfeld
Date:           Sun Jun 30 00:10:35 UTC 2002

Modified Files:
        basesrc/usr.bin/systat: iostat.c vmstat.c
        basesrc/usr.bin/vmstat: dkstats.c dkstats.h vmstat.c
        basesrc/usr.sbin/iostat: iostat.c

Log Message:
Since the KERN_CP_TIME sysctl reports total clock ticks across all
cpus and hz is measured in ticks per cpu, divide tick count by ncpu to
determine elapsed time since last sample.

Fixes I/O rate deflation observed on multiprocessors.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 basesrc/usr.bin/systat/iostat.c
cvs rdiff -r1.38 -r1.39 basesrc/usr.bin/systat/vmstat.c
cvs rdiff -r1.15 -r1.16 basesrc/usr.bin/vmstat/dkstats.c
cvs rdiff -r1.4 -r1.5 basesrc/usr.bin/vmstat/dkstats.h
cvs rdiff -r1.100 -r1.101 basesrc/usr.bin/vmstat/vmstat.c
cvs rdiff -r1.26 -r1.27 basesrc/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