Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 13:04:16 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        Jiawei Ye <leafy7382@gmail.com>
Subject:   Re: How does one know how many thread a process owns?
Message-ID:  <20050414100416.GA27629@orion.daedalusnetworks.priv>
In-Reply-To: <425DA8D5.7070402@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> <20050413140838.GA77217@renaissance.homeip.net> <20050413141957.GA40546@orion.daedalusnetworks.priv> <425DA8D5.7070402@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-14 07:18, David Xu <davidxu@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414100416.GA27629>