From owner-cvs-src@FreeBSD.ORG Sat Apr 16 18:17:27 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0B5316A4CE; Sat, 16 Apr 2005 18:17:27 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57DA43D54; Sat, 16 Apr 2005 18:17:27 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id E0ED646B1E; Sat, 16 Apr 2005 14:17:26 -0400 (EDT) Date: Sat, 16 Apr 2005 19:18:15 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86acnyd2k7.fsf@xps.des.no> Message-ID: <20050416191436.G68941@fledge.watson.org> References: <200504161543.j3GFhclO075103@repoman.freebsd.org> <86acnyd2k7.fsf@xps.des.no> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-300998904-1113675495=:68941" cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Giorgos Keramidas cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 18:17:28 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-300998904-1113675495=:68941 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 16 Apr 2005, Dag-Erling Sm=F8rgrav wrote: > Giorgos Keramidas writes: >> Log: >> Reduce the width of the THR column to 4 characters, to avoid wrap-arou= nd >> 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= =20 > out the C column when not showing individual threads. This would free=20 > 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= =20 > ID in addition to the process ID. The 'C' column is quite useful when tuning SMP systems, and something I=20 frequently look at when debugging performance issues in 5.x and 6.x.=20 Given that 'NICE' has a maximum width of three characters (-20 - 20), I=20 wonder if we can abbreviate that as 'NIC' or 'NCE' or such to reclaim one= =20 character. On WCPU/CPU -- losing one of those should be fine. Robert N M Watson --0-300998904-1113675495=:68941--