Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2005 01:04:38 -0700
From:      Julian Elischer <julian@elischer.org>
To:        obrien@FreeBSD.org
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/top machine.c
Message-ID:  <42636A16.2070702@elischer.org>
In-Reply-To: <20050418063321.GA85819@dragon.NUXI.org>
References:  <200504161543.j3GFhclO075103@repoman.freebsd.org> <86acnyd2k7.fsf@xps.des.no> <20050418063321.GA85819@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote:
> On Sat, Apr 16, 2005 at 08:00:40PM +0200, Dag-Erling Smrgrav wrote:
> 
>>Giorgos Keramidas <keramida@FreeBSD.org> writes:
>>
>>>  Log:
>>>  Reduce the width of the THR column to 4 characters, to avoid wrap-around
>>>  of lines in SMP machines (which are wider), until we have a better way
>>>  of handling window sizes & columns in top.
>>
>>We should probably drop the CPU column (WCPU should suffice),
> 
> 
> No, 'CPU' is quite useful on SMP machines.

except for multi threaded apps
my suggestion is to use [CPU] if it's a CPU number (implying Nthreads == 1)
and THREADNUM if it's multithreaded..
so th column might read:

[0]
[2]
[3]
[0]
134
[0]
[1]
[0]
3


if you hit 'H' so that every thread gets a line,
then you only see the [CPUNUM] versions
so it looks as it does now. (except for the '[' and ']')


> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42636A16.2070702>