Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 19:18:15 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/top machine.c
Message-ID:  <20050416191436.G68941@fledge.watson.org>
In-Reply-To: <86acnyd2k7.fsf@xps.des.no>
References:  <200504161543.j3GFhclO075103@repoman.freebsd.org> <86acnyd2k7.fsf@xps.des.no>

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


On Sat, 16 Apr 2005, Dag-Erling Smørgrav 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), and leave 
> out the C column when not showing individual threads.  This would free 
> up space for THR so we don't have to trim down COMMAND.
>
> Also, when showing individual threads, we might want to show the thread 
> ID in addition to the process ID.

The 'C' column is quite useful when tuning SMP systems, and something I 
frequently look at when debugging performance issues in 5.x and 6.x. 
Given that 'NICE' has a maximum width of three characters (-20 - 20), I 
wonder if we can abbreviate that as 'NIC' or 'NCE' or such to reclaim one 
character.  On WCPU/CPU -- losing one of those should be fine.

Robert N M Watson

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