cvs commit: src/usr.bin/top machine.c
julian at elischer.org
Mon Apr 18 01:04:46 PDT 2005
David O'Brien wrote:
> On Sat, Apr 16, 2005 at 08:00:40PM +0200, Dag-Erling Smrgrav wrote:
>>Giorgos Keramidas <keramida at FreeBSD.org> writes:
>>> 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:
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 ']')
More information about the cvs-all