[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Finding percent idle
From:       Kris Kirby <kris () hiwaay ! net>
Date:       2000-02-28 20:20:48
[Download RAW message or body]

> As another poster pointed out, all of the FreeBSD programs (top, vmstat,
> xosview, ktop) get this stuff from kvm - which is a non portable (across
> different versions of FreeBSD) interface.  FreeBSD also doesn't keep
> these numbers on a per CPU basis on a SMP box.
> 
> I wrote a patch for fixing the SMP case and a KLD to get them via
> sysctl. With slight modifications to the KLD, you can get those values
> exported via sysctl.

It would be interesting to see a SMP box with an attached LCD showing load
per CPU.

---
Kris Kirby, KE4AHR          | TGIFreeBSD... 'Nuff said.
<kris@nospam.hiwaay.net>    |    
-------------------------------------------------------
"God gave them the ability to reproduce...
	... Science gave us the hope they won't." -KBK



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic