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

From: Jiawei Ye <leafy7382_at_gmail.com>
Date: Thu, 14 Apr 2005 10:37:10 +0800
On 4/14/05, David Xu <davidxu_at_freebsd.org> wrote:
> It can only show individual threads in process,  but the guy only wants
> to see
> the threads count.
> 
> David Xu
Seems that I ought to explain why I need this. I do Java programming
on FreeBSD (well, porting some of our server side components over). It
is not realistic to view over 2000 threads in top. I just need to know
the thread count in the parent process to get a grip on how our
process is doing. Say that the thread count >1000 is normal, and if it
drops to 500 then I have to fire up a debugger or something like that.

Jiawei Ye

-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming
Received on Thu Apr 14 2005 - 00:37:12 UTC

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