From owner-freebsd-current@FreeBSD.ORG Fri Apr 15 17:42:13 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 A045B16A4CE; Fri, 15 Apr 2005 17:42:13 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6076C43D54; Fri, 15 Apr 2005 17:42:12 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 5A46B7A425; Fri, 15 Apr 2005 10:42:09 -0700 (PDT) Message-ID: <425FFCF1.1080100@elischer.org> Date: Fri, 15 Apr 2005 10:42:09 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en, hu MIME-Version: 1.0 To: Giorgos Keramidas References: <425CC7F8.3030803@samsco.org> <425CD009.6040208@freebsd.org> <20050413132603.GA39006@orion.daedalusnetworks.priv> <425D2163.4090603@freebsd.org> <20050413140838.GA77217@renaissance.homeip.net> <20050413141957.GA40546@orion.daedalusnetworks.priv> <20050415055604.N93987@lexi.siliconlandmark.com> <20050415104814.GA5278@orion.daedalusnetworks.priv> <425FA2AB.4070905@freebsd.org> <20050415115005.GA5866@orion.daedalusnetworks.priv> In-Reply-To: <20050415115005.GA5866@orion.daedalusnetworks.priv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: David Xu cc: Jiawei Ye cc: Anthony Ginepro Subject: Re: How does one know how many thread a process owns? 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: Fri, 15 Apr 2005 17:42:13 -0000 Giorgos Keramidas wrote: >On 2005-04-15 19:16, David Xu wrote: > > >> > >I just checked what top does on SunOS, when a program has more than 999 >threads and it seems to clip the number of threads to 999, as if >something min(999, numthreads) is what is printed :-) > > you could proint " !!!" or "LOT" or do a roman numeral approx. e.g. MMC (2100).. what's roman for 10000? or 2E4 :-) >I'll change the width of THR to 4 columns if that's enough to fix the >wrapping issue of COMMAND, or even to 3 if that is not enough. Clipping >the value of numthreads to something less than or equal to 999 is also a >relatively good idea that shouldn't be too hard to implement. > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >