Date: Fri, 15 Apr 2005 10:42:09 -0700 From: Julian Elischer <julian@elischer.org> To: Giorgos Keramidas <keramida@freebsd.org> Cc: Anthony Ginepro <anthony.ginepro@laposte.net> Subject: Re: How does one know how many thread a process owns? Message-ID: <425FFCF1.1080100@elischer.org> In-Reply-To: <20050415115005.GA5866@orion.daedalusnetworks.priv> References: <425CC7F8.3030803@samsco.org> <425CD009.6040208@freebsd.org> <c21e92e205041302152c9cbaaf@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: >On 2005-04-15 19:16, David Xu <davidxu@freebsd.org> 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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425FFCF1.1080100>