From owner-freebsd-current@FreeBSD.ORG Tue May 10 15:55:09 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 283B016A4CE; Tue, 10 May 2005 15:55:09 +0000 (GMT) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82A1D43D1F; Tue, 10 May 2005 15:55:08 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (localhost [127.0.0.1]) j4AFsxFV033727; Tue, 10 May 2005 11:54:59 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)j4AFsxwo033724; Tue, 10 May 2005 11:54:59 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: lexi.siliconlandmark.com: andy owned process doing -bs Date: Tue, 10 May 2005 11:54:59 -0400 (EDT) From: Andre Guibert de Bruet To: Skip Ford In-Reply-To: <20050510154902.GC691@lucy.pool-151-204-5-5.pskn.east.verizon.net> Message-ID: <20050510115051.L750@lexi.siliconlandmark.com> References: <20050510105449.GA6223@orion.daedalusnetworks.priv> <20050510134409.GA691@lucy.pool-151-204-5-5.pskn.east.verizon.net> <20050510152646.GA1164@orion.daedalusnetworks.priv> <20050510154902.GC691@lucy.pool-151-204-5-5.pskn.east.verizon.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Information: Please contact the ISP for more information X-SL-MailScanner: Found to be clean X-SL-SpamCheck: not spam, SpamAssassin (score=-2.545, required 6, autolearn=not spam, AWL 0.05, BAYES_00 -2.60) X-MailScanner-From: andy@siliconlandmark.com cc: freebsd-current@freebsd.org cc: Giorgos Keramidas cc: Jiawei Ye Subject: Re: Strange top(1) output X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 15:55:09 -0000 On Tue, 10 May 2005, Skip Ford wrote: > Giorgos Keramidas wrote: >> On 2005-05-10 10:41, Andre Guibert de Bruet wrote: >>> On Tue, 10 May 2005, Skip Ford wrote: >>>> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU CPU >>>> COMM >>>> AND >>>> 1352 skip 1 96 0 18968K 16276K select 0:21 0.00% 0.00% >>>> Xor >>>> 691 skip 1 8 0 4784K 3940K wait 0:08 0.00% 0.00% >>>> mut >>>> 684 skip 1 96 0 2336K 1948K select 0:07 0.00% 0.00% >>>> scr >>>> 667 root 1 4 0 24268K 23196K accept 0:06 0.00% 0.00% >>>> per >>>> 580 root 1 20 0 22896K 21948K pause 0:04 0.00% 0.00% >>>> per >>>> 447 root 1 96 0 2864K 1724K select 0:02 0.00% 0.00% >>>> ntp >>> >>> What is the length of the longest username that you have on your system? >> >> Ah, yes! Good thought. This could affect the width of the USERNAME >> column and push everything too far to the right. If this is the case, >> I'd probably vote for optionally limiting the length of the username >> column to, say, 8 columns at most. > > FWIW, I'd vote for 6. I'd much rather see more of the command. Wasn't the old max length of GECOS 8 chars? Setting it to anything less starts to become too short -- You're better off just outputting the UID. Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * Tormenting bytes since 1980. */