Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 10:16:07 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Andrzej Bialecki <abial@webgiro.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_clock.c
Message-ID:  <Pine.NEB.3.96L.1001120101235.23934A-100000@fledge.watson.org>
In-Reply-To: <Pine.BSF.4.20.0011201219010.36179-100000@mx.webgiro.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
via which this could be exported, we should probably make those
improvements prior to 5.0-RELEASE and without MFC'ing these changes so we
don't get any software using the current MIB that has to be changed.  I
probably don't have time to contribute to such an effort and selected the
current path as the path of least resistance to removing the setgid bit
from systat and other current-day system monitoring software. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services





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.NEB.3.96L.1001120101235.23934A-100000>