From owner-freebsd-bugs Wed May 9 8:59:49 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 0F19A37B422; Wed, 9 May 2001 08:59:45 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA23156; Thu, 10 May 2001 01:59:26 +1000 Date: Thu, 10 May 2001 01:57:56 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Peter Pentchev Cc: Dag-Erling Smorgrav , dwmalone@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/27215: when cat'ing /compat/linux/proc/stat, we have negative numbers In-Reply-To: <20010509174435.G645@ringworld.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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