Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 01:57:56 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, dwmalone@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/27215: when cat'ing /compat/linux/proc/stat, we have negative numbers
Message-ID:  <Pine.BSF.4.21.0105100153420.19302-100000@besplex.bde.org>
In-Reply-To: <20010509174435.G645@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 May 2001, Peter Pentchev wrote:

> On Thu, May 10, 2001 at 12:40:22AM +1000, Bruce Evans wrote:
> > On 9 May 2001, Dag-Erling Smorgrav wrote:
> > > Argh.  What are the chances of making cp_time an array of uint64_ts
> > > instead of longs?  Would that break any existing binary interfaces?
> > 
> > Mainly the "interface" given by the type of cp_time.  systat and vmstat,
> > etc., depend on it being an array of longs.  systat uses a sysctl to
> > read the array, but this doesn't help much because it assumes that the
> > array elements have the same types as in the kernel.
> 
> So if kernel and userland are updated in sync, there would be no problem?
> Or are there any third-party tools that might use cp_time?

There are many X utilities like vmstat.  ports/sysutils alone has xcpustate,
xosview, xperfmon, xperfmon3, xsysinfo and xsysstats :-].

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" 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.21.0105100153420.19302-100000>