> On Mon, 2006-Jan-09 19:14:53 -0800, kamal kc wrote:
> >i want to use the routine get_system_info() to get
> the
> >load averages of the cpu. i found it that top uses
> it.
> 
> The approved mechanism is via the sysctl(3) name
> "vm.loadavg" or OID
> CTL_VM.VM_LOADAVG - which returns a struct loadavg. 
> See sysctl(3)
> for details.

thanks a lot. i will use it .

kamal



                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to