From owner-freebsd-hackers Thu Nov 4 0:32: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta3.snfc21.pbi.net (mta3.snfc21.pbi.net [206.13.28.141]) by hub.freebsd.org (Postfix) with ESMTP id B51471503B for ; Thu, 4 Nov 1999 00:32:08 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.35]) by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKN00M38ZO3U9@mta3.snfc21.pbi.net> for freebsd-hackers@FreeBSD.ORG; Thu, 4 Nov 1999 00:31:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id 44C939155D; Thu, 04 Nov 1999 00:31:15 -0800 (PST) Date: Thu, 04 Nov 1999 00:31:15 -0800 (PST) From: Alex Zepeda Subject: Re: kstat - an API for gathering kernel stats In-reply-to: To: "Matthew N. Dodd" Cc: freebsd-hackers@FreeBSD.ORG 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, 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? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message