Re: How does one know how many thread a process owns?

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 15 Apr 2005 10:42:09 -0700
Giorgos Keramidas wrote:

>On 2005-04-15 19:16, David Xu <davidxu_at_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_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>  
>
Received on Fri Apr 15 2005 - 15:42:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC