Subject: Re: bin/10276: systat/vmstat/iostat does not work due to lack of kernel symbol cp_time
To: Simon Burge <simonb@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: netbsd-bugs
Date: 06/04/2000 08:21:10
On Sun, Jun 04, 2000 at 06:53:55PM +1000, Simon Burge wrote:

 > > >How-To-Repeat:
 > > 	# systat (nothing happens)
 > > 	# vmstat wd0
 > > 	# iostat
 > 
 > These should probably use the new KERN_CP_TIME sysctl.  I'll look into
 > this (tomorrow) if no one else does.  If anyone wants to beat me to it,
 > usr.bin/top/machine/m_netbsd15.c has an example of the usage of this
 > sysctl.

..and for the non-sysctl case, well, they should not bother, I guess.
Otherwise, you have to determine which CPU you want to get the info
from :-)

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>