From owner-freebsd-hackers Sat Nov 6 9:41:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 2D1A714C20 for ; Sat, 6 Nov 1999 09:41:38 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id RAA44476; Sat, 6 Nov 1999 17:42:28 GMT (envelope-from dfr@nlsystems.com) Date: Sat, 6 Nov 1999 17:42:27 +0000 (GMT) From: Doug Rabson To: Mike Smith Cc: "Matthew N. Dodd" , freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <199911050932.BAA00472@dingo.cdrom.com> 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 Fri, 5 Nov 1999, Mike Smith wrote: > > On Thu, 4 Nov 1999, Mike Smith wrote: > > > Sysctl is faster than kstat once you have performed the name->oid > > > lookup. There is basically nothing that kstat can do that sysctl can't > > > do better and faster, apart from lookup-by-name. > > > > Except for dynamic registration right? > > No, Peter fixed that a while back. I changed sysctl to be dynamic about 9 months or so ago. This is only available in -current btw. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message