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.
Kris
----
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Getting CPU usage in FreeBSD Felipe Paulo Guazzi Bergo
- Re: Getting CPU usage in FreeBSD W Gerald Hicks
- Re: Getting CPU usage in FreeBSD Arun Sharma
- Re: Getting CPU usage in FreeBSD Oliver Fromme
- Re: Getting CPU usage in FreeBSD Kris Kennaway
- Re: Getting CPU usage in FreeBSD Pedro A M Vazquez
- Re: Getting CPU usage in FreeBS... Kris Kennaway
- Re: Getting CPU usage in F... Pedro A M Vazquez
- Re: Getting CPU usage in FreeBSD Andrzej Bialecki
- Re: Getting CPU usage in FreeBS... Jordan K. Hubbard
- Re: Getting CPU usage in F... Andrzej Bialecki
- Re: Getting CPU usage in F... Garance A Drosihn
- Re: Getting CPU usage in FreeBSD Oliver Fromme
- Re: Getting CPU usage in FreeBSD Andrzej Bialecki

