From owner-freebsd-stable@FreeBSD.ORG Thu May 12 16:39:40 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C19116A4D0 for ; Thu, 12 May 2005 16:39:40 +0000 (GMT) Received: from mail.telsatgp.com.pl (pa79.pleszew.sdi.tpnet.pl [217.96.180.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B7443D4C for ; Thu, 12 May 2005 16:39:36 +0000 (GMT) (envelope-from sgp@telsatgp.com.pl) Received: (qmail 41501 invoked from network); 12 May 2005 16:39:38 -0000 Received: from slawek.telsatgp.com.pl (HELO Slawek) (sgp@192.168.5.5) by pa79.pleszew.sdi.tpnet.pl with SMTP; 12 May 2005 16:39:38 -0000 Message-ID: <003401c55711$2d6bb0a0$0505a8c0@Slawek> From: "Slawek" To: References: <20050510105449.GA6223@orion.daedalusnetworks.priv> <20050510134409.GA691@lucy.pool-151-204-5-5.pskn.east.verizon.net> <20050510104018.M750@lexi.siliconlandmark.com> <20050510152646.GA1164@orion.daedalusnetworks.priv> <1115815807.8809.3.camel@buffy.york.ac.uk> Date: Thu, 12 May 2005 18:38:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 FL-Build: Fidolook 2002 (SL) 6.0.2800.86 - 14/6/2003 22:16:25 X-Organisation: Telsat GP Subject: Re: Strange top(1) output X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 16:39:40 -0000 Hello! In message to sent Wed, 11 May 2005 13:50:07 +0100 you wrote: >> 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. GA> I would also vote for limiting it to 8 characters. Even with longer GA> usernames, I suspect 8 characters will be enough to identify particular GA> users (and if it's not there is always they UID view). GA> Doing this would also allow us to eliminate the nasty code in GA> src/usr.bin/top/machine.c which causes top to be unusable on a machine GA> with a significant number of user accounts. See GA> http://lists.freebsd.org/pipermail/freebsd-stable/2005-April/014275.htm GA> l for details. Another idea, may I? Make USERNAME column 8-char's wide first, and expand it later whenever longer username needs to be displayed - no built-in length limit - no need to scan all usernames at start -- Slawomir Piotrowski