How does one know how many thread a process owns?

Jiawei Ye leafy7382 at gmail.com
Wed Apr 13 02:15:23 PDT 2005


On 4/13/05, David Xu <davidxu at freebsd.org> wrote:
> I believe he wants to see total threads number in a process. add a column
> to top to display total kernel threads in per-process, p_numthreads in proc
> structure is what you need . :)
> 
> David Xu
Exactly what I want. Is is possible to modify our top?

Jiawei Ye

-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming


More information about the freebsd-current mailing list