cvs commit: src/usr.bin/top machine.c
Robert Watson
rwatson at FreeBSD.org
Sat Apr 16 11:17:28 PDT 2005
On Sat, 16 Apr 2005, Dag-Erling Smørgrav wrote:
> Giorgos Keramidas <keramida at 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
More information about the cvs-src
mailing list