From owner-cvs-all Tue Nov 21 1:50:11 2000 Delivered-To: cvs-all@freebsd.org Received: from mimer.webgiro.com (unknown [213.162.128.50]) by hub.freebsd.org (Postfix) with ESMTP id 3AFC937B479; Tue, 21 Nov 2000 01:50:07 -0800 (PST) Received: by mimer.webgiro.com (Postfix, from userid 66) id CF7582DC0E; Tue, 21 Nov 2000 10:52:28 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id 1C6427817; Tue, 21 Nov 2000 10:45:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 1A2CD10E1A; Tue, 21 Nov 2000 10:45:09 +0100 (CET) Date: Tue, 21 Nov 2000 10:45:09 +0100 (CET) From: Andrzej Bialecki To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_clock.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Nov 2000, Robert Watson wrote: > On Mon, 20 Nov 2000, Andrzej Bialecki wrote: > > > On Sun, 19 Nov 2000, Robert Watson wrote: > > > > > rwatson 2000/11/19 16:44:59 PST > > > > > > Modified files: > > > sys/kern kern_clock.c > > > Log: > > > o Export cp_time ("CPU time statistics") using SYSCTL_OPAQUE. > > > This removes a reason that systat requires setgid kmem. More to > > > come. > > > > There was someone (Kelly Yancey??) that wanted to implement per-CPU > > statistics, including CPU times. Does this sysctl handle this? > > This exports the kernel cp_time array in exactly the form that systat > consumes it: an array of size CPUSTATES. My endeavour was not to produce > a superior MIB for managing the kernel, rather, to translate existing > kmem-accessed data into systl-access data. If there is a better format I see. That's ok with me :-) Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message