Date: Thu, 14 Apr 2005 10:37:10 +0800 From: Jiawei Ye <leafy7382@gmail.com> To: David Xu <davidxu@freebsd.org> Cc: Giorgos Keramidas <keramida@freebsd.org> Subject: Re: How does one know how many thread a process owns? Message-ID: <c21e92e205041319372c191629@mail.gmail.com> In-Reply-To: <425DC1DB.4090106@freebsd.org> References: <c21e92e20504122232f568545@mail.gmail.com> <425CC7F8.3030803@samsco.org> <425CD009.6040208@freebsd.org> <c21e92e205041302152c9cbaaf@mail.gmail.com> <20050413132603.GA39006@orion.daedalusnetworks.priv> <425D2163.4090603@freebsd.org> <425C7D0D.5000302@elischer.org> <425DC1DB.4090106@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/14/05, David Xu <davidxu@freebsd.org> wrote: > It can only show individual threads in process, but the guy only wants > to see > the threads count. >=20 > 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 --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e205041319372c191629>