Subject: CVS commit: [netbsd-1-6] basesrc/usr.bin/systat
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/30/2002 08:47:17
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Jun 30 05:47:17 UTC 2002

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

Log Message:
Pull up revision 1.21 (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.19.4.1 -r1.19.4.2 basesrc/usr.bin/systat/iostat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.