From owner-freebsd-current@FreeBSD.ORG Wed May 11 17:24:55 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 573FD16A4CE for ; Wed, 11 May 2005 17:24:55 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0931643D54 for ; Wed, 11 May 2005 17:24:54 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 20CDB5CDF; Wed, 11 May 2005 13:24:54 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62219-09; Wed, 11 May 2005 13:24:53 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) by pi.codefab.com (Postfix) with ESMTP id 1B9085C58; Wed, 11 May 2005 13:24:52 -0400 (EDT) Message-ID: <42823FDF.7060106@mac.com> Date: Wed, 11 May 2005 13:24:47 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oliver Brandmueller 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> <20050510115051.L750@lexi.siliconlandmark.com> <20050511060120.GA63918@e-Gitt.NET> In-Reply-To: <20050511060120.GA63918@e-Gitt.NET> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com cc: freebsd-current@freebsd.org 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: Wed, 11 May 2005 17:24:55 -0000 Oliver Brandmueller wrote: > On Tue, May 10, 2005 at 11:54:59AM -0400, Andre Guibert de Bruet wrote: >>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. > > I vote for removing (or make it optional) the code that measures > username lengths. I have a system with >90k users (in LDAP) and it takes > quite some time to find out the longest (just to cut the number down to > 13 afterwards anyway). This even happens with "-u" in the standard top. +1. It's silly to scan the list of users to find the length of the longest username, just in order to make the output *not* fit into 80 columns. :-) -- -Chuck