cvs commit: src/usr.bin/top machine.c

Giorgos Keramidas keramida at
Mon Apr 18 02:53:07 PDT 2005

On 2005-04-17 23:36, David O'Brien <obrien at> wrote:
>On Sun, Apr 17, 2005 at 04:58:45PM +0300, Giorgos Keramidas wrote:
>> We can add a new toggle command to top, i.e. 'C', that toggles between
>> displaying WCPU or CPU.  This should regain us a lot of the space lost
>> from COMMAND after I added THR.
> Please no.  Both CPU & WCPU are quite useful on SMP systems.
> I would truncate the username before loosing either CPU or WCPU.
> There's a very low possibility that I couldn't figure out the user even
> if 1-2 characters were trunated from it.

I see.  But are they _both_ useful at the same time?  If yes, then there
is little we can do to enough some horizontal space for a thread count

Would it be ok, then, if I made the 'C' command tri-state, alternating
between three different output styles?

	ps.thread  	Output style
	0		Only CPU
	1		Only WCPU
	2		Both

More information about the cvs-src mailing list