dear everybody,
i want to use the routine get_system_info() to get the
load
averages of the cpu. i found it that top uses it.
but i do not know which object files do i need to link
it to
my program. also the struct system_info is defined
in the machine.h of the /usr/src/contrib/top. do i
need
to include it or is there another header defining it.
actually i want to know the load averages when my
program
runs in the kernel mode.
is there other methods of obtaining the sytem load
averages ???
thanks,
kamal
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"