Date: Thu, 14 Apr 2005 12:19:05 +0300 From: Giorgos Keramidas <keramida@freebsd.org> To: Jiawei Ye <leafy7382@gmail.com> Cc: Julian Elischer <julian@elischer.org> Subject: Re: How does one know how many thread a process owns? Message-ID: <20050414091905.GC2540@orion.daedalusnetworks.priv> In-Reply-To: <c21e92e205041319372c191629@mail.gmail.com> 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> <c21e92e205041319372c191629@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-14 10:37, Jiawei Ye <leafy7382@gmail.com> wrote: >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. > > 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414091905.GC2540>