--- Russell Francis <[EMAIL PROTECTED]> wrote:
> I was wondering if there is a way to determine the context switching rate?
>
> In /usr/include/sys/vmmeter.h the structure
>
> struct vmmeter {
> u_int v_swtch; /* context switches */
> .
> .
> .
> }
>
> looks like what I want but I can't find a function which returns this data
> to a user land application. Is this possible? If so how?
Have you tried to use any of the sysctl(3) functions? Try doing the
following on the command line:
shell# apropos sysctl
Hope this helps. :)
Thanks,
-- Hiten Pandya
-- <[EMAIL PROTECTED]>
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message