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

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Thu, 14 Apr 2005 12:19:05 +0300
On 2005-04-14 10:37, Jiawei Ye <leafy7382_at_gmail.com> wrote:
>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.
>
> 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.

I've only reserved 3 characters for the thread field column, so this
could still be a bit of a problem.  Would a 4 or 5-column width be more
realistic?
Received on Thu Apr 14 2005 - 07:19:06 UTC

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