Subject: CVS commit: [netbsd-1-6] basesrc/usr.sbin/iostat
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/30/2002 08:48:06
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.