Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2000 01:47:23 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jeff Rhyason <rhyason@cpsc.ucalgary.ca>
Cc:        hackers@freebsd.org
Subject:   Re: Collecting waiting statistics (simulation question)
Message-ID:  <20000814014723.L4854@fw.wintelcom.net>
In-Reply-To: <Pine.SOL.4.10.10008140141230.12327-100000@csc>; from rhyason@cpsc.ucalgary.ca on Mon, Aug 14, 2000 at 01:45:08AM -0600
References:  <Pine.SOL.4.10.10008140141230.12327-100000@csc>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Rhyason <rhyason@cpsc.ucalgary.ca> [000814 00:45] wrote:
> > Using sysctls is probably the easiest way of doing it.
> 
> OK.  Is there any example code that uses sysctls in this way?

A lot of sysctls implement some sort of statistics mechanism
such as counters.  Do a 'sysctl -a' and you'll see various
sysctls being used for counters/stats.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000814014723.L4854>