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
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-300998904-1113675495=:68941
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE


On Sat, 16 Apr 2005, Dag-Erling Sm=F8rgrav wrote:

> Giorgos Keramidas <keramida@FreeBSD.org> writes:
>>   Log:
>>   Reduce the width of the THR column to 4 characters, to avoid wrap-arou=
nd
>>   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=
=20
> out the C column when not showing individual threads.  This would free=20
> 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=
=20
> ID in addition to the process ID.

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

Robert N M Watson
--0-300998904-1113675495=:68941--



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