From owner-freebsd-hackers Mon Aug 14 1:47:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 2F4E337B711 for ; Mon, 14 Aug 2000 01:47:25 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7E8lNm15725; Mon, 14 Aug 2000 01:47:23 -0700 (PDT) Date: Mon, 14 Aug 2000 01:47:23 -0700 From: Alfred Perlstein To: Jeff Rhyason Cc: hackers@freebsd.org Subject: Re: Collecting waiting statistics (simulation question) Message-ID: <20000814014723.L4854@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from rhyason@cpsc.ucalgary.ca on Mon, Aug 14, 2000 at 01:45:08AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jeff Rhyason [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