Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2005 12:52:48 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "David O'Brien" <obrien@freebsd.org>
Cc:        Dag-Erling Sm?rgrav <des@des.no>
Subject:   Re: cvs commit: src/usr.bin/top machine.c
Message-ID:  <20050418095248.GA12892@orion.daedalusnetworks.priv>
In-Reply-To: <20050418063659.GB85819@dragon.NUXI.org>
References:  <200504161543.j3GFhclO075103@repoman.freebsd.org> <86acnyd2k7.fsf@xps.des.no> <20050416191436.G68941@fledge.watson.org> <863btq4k9m.fsf@xps.des.no> <20050417110321.GA78636@gothmog.gr> <20050417222313.K946@epsplex.bde.org> <20050417135844.GA792@gothmog.gr> <20050418063659.GB85819@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-17 23:36, David O'Brien <obrien@freebsd.org> 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
column.

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



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