From owner-cvs-all@FreeBSD.ORG Mon Apr 18 09:53:07 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EC5416A4CE; Mon, 18 Apr 2005 09:53:07 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05ECB43D3F; Mon, 18 Apr 2005 09:53:01 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j3I9pm8d012665; Mon, 18 Apr 2005 12:51:49 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j3I9qqca013015; Mon, 18 Apr 2005 12:52:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j3I9qmkO013014; Mon, 18 Apr 2005 12:52:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 18 Apr 2005 12:52:48 +0300 From: Giorgos Keramidas To: "David O'Brien" Message-ID: <20050418095248.GA12892@orion.daedalusnetworks.priv> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050418063659.GB85819@dragon.NUXI.org> cc: src-committers@freebsd.org cc: Bruce Evans cc: cvs-src@freebsd.org cc: cvs-all@freebsd.org cc: Robert Watson cc: Dag-Erling Sm?rgrav Subject: Re: cvs commit: src/usr.bin/top machine.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 09:53:07 -0000 On 2005-04-17 23:36, David O'Brien 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