On Wed, 3 Nov 1999, Arun Sharma wrote: > A user program makes a system call with this string "cpu.system" to get > the current value of user/system/nice time etc. How is this different from doing: # sysctl -a | grep load vm.loadavg: { 0.15 0.09 0.04 } Ideally we could have a syscall that could return the OID for a given name to solve the portability and speed issues associated with doing repeated lookups. Seems like you've reinvented the wheel to me. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: kstat - an API for gathering kernel stats Ricardo Bernardini
- Re: kstat - an API for gathering kernel stats Ricardo Bernardini
- Re: kstat - an API for gathering kernel stats Chuck Youse
- Re: kstat - an API for gathering kernel stats Mike Smith
- kstat - an API for gathering kernel stats Arun Sharma
- Re: kstat - an API for gathering kernel stats Matthew N. Dodd
- Re: kstat - an API for gathering kernel st... Arun Sharma
- Re: kstat - an API for gathering kerne... Matthew N. Dodd
- Re: kstat - an API for gathering ... Arun Sharma
- Re: kstat - an API for gather... Mike Smith
- Re: kstat - an API for ga... Arun Sharma
- Re: kstat - an API for ga... Chris Costello
- Re: kstat - an API for ga... Arun Sharma
- Re: kstat - an API for ga... Mike Smith
- Re: kstat - an API for ga... Doug Rabson
- Re: kstat - an API for ga... Mike Smith