Re: How does one know how many thread a process owns?
From: Jiawei Ye (leafy7382_at_gmail.com)
Date: 04/14/05
- Previous message: Randy Bush: "/machine/pcb.h:70: error: field `pcb_fsd' has incomplete type"
- In reply to: David Xu: "Re: How does one know how many thread a process owns?"
- Next in thread: Giorgos Keramidas: "Re: How does one know how many thread a process owns?"
- Reply: Giorgos Keramidas: "Re: How does one know how many thread a process owns?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 14 Apr 2005 10:37:10 +0800 To: David Xu <davidxu@freebsd.org>
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.
>
> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Randy Bush: "/machine/pcb.h:70: error: field `pcb_fsd' has incomplete type"
- In reply to: David Xu: "Re: How does one know how many thread a process owns?"
- Next in thread: Giorgos Keramidas: "Re: How does one know how many thread a process owns?"
- Reply: Giorgos Keramidas: "Re: How does one know how many thread a process owns?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|