From owner-cvs-all@FreeBSD.ORG Mon Apr 18 09:59:12 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 24BB416A4CE; Mon, 18 Apr 2005 09:59:12 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2871943D60; Mon, 18 Apr 2005 09:59:11 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j3I9vqme031857; Mon, 18 Apr 2005 12:57:55 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j3I9wses013098; Mon, 18 Apr 2005 12:58:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j3I9woAB013097; Mon, 18 Apr 2005 12:58:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 18 Apr 2005 12:58:50 +0300 From: Giorgos Keramidas To: Julian Elischer Message-ID: <20050418095850.GB12892@orion.daedalusnetworks.priv> References: <200504161543.j3GFhclO075103@repoman.freebsd.org> <86acnyd2k7.fsf@xps.des.no> <20050418063321.GA85819@dragon.NUXI.org> <42636A16.2070702@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42636A16.2070702@elischer.org> cc: Dag-Erling Sm?rgrav cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: obrien@freebsd.org cc: cvs-src@freebsd.org 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:59:12 -0000 On 2005-04-18 01:04, Julian Elischer wrote: >David O'Brien wrote: >>On Sat, Apr 16, 2005 at 08:00:40PM +0200, Dag-Erling Smrgrav wrote: >>>Giorgos Keramidas writes: >>>> 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), >> >> No, 'CPU' is quite useful on SMP machines. > > except for multi threaded apps > my suggestion is to use [CPU] if it's a CPU number (implying Nthreads == 1) > and THREADNUM if it's multithreaded.. > so th column might read: > > [0] > [2] > 134 > [0] > > if you hit 'H' so that every thread gets a line, > then you only see the [CPUNUM] versions > so it looks as it does now. (except for the '[' and ']') I sort of like this, but not a lot. I'd like to avoid mixing up different sorts of information in the same column, if at all possible.