From owner-freebsd-hackers Thu Nov 4 10:49:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f63.law3.hotmail.com [209.185.241.63]) by hub.freebsd.org (Postfix) with SMTP id 0511C1568B for ; Thu, 4 Nov 1999 10:49:15 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 89041 invoked by uid 0); 4 Nov 1999 18:46:54 -0000 Message-ID: <19991104184654.89040.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Thu, 04 Nov 1999 10:46:54 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: freebsd-hackers@freebsd.org Cc: mike@smith.net.au Subject: Re: kstat - an API for gathering kernel stats Date: Thu, 04 Nov 1999 15:46:54 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----Original Message Follows---- From: Mike Smith >You can add "counters" with sysctl. You can also add read/write >variables of any type. You can add them dynamically at runtime? How do you know which counters are available at a given time? >One thing that puzzles me; you say "userland processes can add their >own". What value would that have, since there'd be nothing in the >kernel that would do anything with such an object? But if a user mode server can mantain performance statistics there, then some performance monitoring tool would be able to query that counters and allow some analysis. It can be done by other means, but I think it can be usefull having it all together using a unique system call. Saludos / Regards Ricardo ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message