From owner-freebsd-hackers Thu Nov 4 8: 8:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 04B2F1504C for ; Thu, 4 Nov 1999 08:08:02 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id LAA21975; Thu, 4 Nov 1999 11:07:31 -0500 (EST) Date: Thu, 4 Nov 1999 11:07:31 -0500 (EST) From: "Matthew N. Dodd" To: Alex Zepeda Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 4 Nov 1999, Alex Zepeda wrote: > On Thu, 4 Nov 1999, Matthew N. Dodd wrote: > > On Wed, 3 Nov 1999, Arun Sharma wrote: > > > A user program makes a system call with this string "cpu.system" to get > > > the current value of user/system/nice time etc. > > > > How is this different from doing: > > > > # sysctl -a | grep load > > vm.loadavg: { 0.15 0.09 0.04 } > > How is that different from doing: > > sysctl vm.loadavg? I was more trying to demonstrate the fact that we have sysctl(3). -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message