Kris Kennaway <[EMAIL PROTECTED]> wrote in list.freebsd-hackers:
 > On Sun, 12 Mar 2000, Oliver Fromme wrote:
 > > Then look up the definition of kread() in the same file, and
 > > how the contents of cur.cp_time are used in the cpustats()
 > > function.  Note that "cur" is a "struct statinfo", which is
 > > defined in /usr/include/devstat.h.  The CPU states are defined
 > > in /usr/include/sys/dkstat.h.
 > 
 > We probably should make this into a sysctl to divorce the binaries from
 > having to read kvm.

Sounds like a good idea.  But then again, vmstat.c uses kvm
for about a dozen different things.  Shouldn't they all be
made into sysctls then?  Just wondering...

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])

"In jedem St�ck Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to