Date: Tue, 21 Nov 2000 10:45:09 +0100 (CET) From: Andrzej Bialecki <abial@webgiro.com> To: Robert Watson <rwatson@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_clock.c Message-ID: <Pine.BSF.4.20.0011211042570.46601-100000@mx.webgiro.com> In-Reply-To: <Pine.NEB.3.96L.1001120101235.23934A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
// <abial@webgiro.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0011211042570.46601-100000>
