> On Linux this is what I do to get this value:  Measure the number of
> scheduled jiffies (hundreths of second), measure elapsed time since last
> measurement, divide.

I ran into the same problem as you - and took the time to implement it.
My patches fix the SMP case as well as getting it via sysctl instead of
kvm_read.

See:

http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=169412+180922+/usr/local/www/db/text/1999/freebsd-hackers/19991212.freebsd-hackers

http://www.freebsd.org/cgi/getmsg.cgi?fetch=293002+0+/usr/local/www/db/text/1999/freebsd-hackers/19991226.freebsd-hackers

        -Arun


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

Reply via email to