Source-Changes archive

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

CVS commit: [netbsd-1-6] basesrc/usr.sbin/iostat



Module Name:    basesrc
Committed By:   lukem
Date:           Sun Jun 30 05:48:05 UTC 2002

Modified Files:
        basesrc/usr.sbin/iostat [netbsd-1-6]: iostat.c

Log Message:
Pull up revision 1.27 (requested by sommerfeld in ticket #406):
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.25 -r1.25.2.1 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