How does one know how many thread a process owns?
Andre Guibert de Bruet
andy at siliconlandmark.com
Fri Apr 15 14:02:56 PDT 2005
On Fri, 15 Apr 2005, Julian Elischer wrote:
> 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 realize that top isn't an exact science, but I find that approximations
are generally a bad idea. I am in favor of axing the useless CPU column
and reclaiming some useful screen space for the others... :)
Andy
| Andre Guibert de Bruet | Enterprise Software Consultant >
| Silicon Landmark, LLC. | http://siliconlandmark.com/ >
More information about the freebsd-current
mailing list