How does one know how many thread a process owns?

Giorgos Keramidas keramida at freebsd.org
Thu Apr 14 03:04:12 PDT 2005


On 2005-04-14 07:18, David Xu <davidxu at freebsd.org> wrote:
> When will you commit it ? the world is walking towards to threaded,
> especially with multi-cores CPU will be out in few monthes. :-)

Ok, I have a version that doesn't need to duplicate the sprintf() part
of format_next_proc() and uses a wider column width for the THR count,
since people have reported using a few thousand threads.  Can you give
this one a try too?

Both patches are available at

	http://people.freebsd.org/~keramida/diff/top-threads.diff
	http://people.freebsd.org/~keramida/diff/top-threads2.diff



More information about the freebsd-current mailing list