Date: Fri, 15 Apr 2005 19:16:59 +0800 From: David Xu <davidxu@freebsd.org> To: Giorgos Keramidas <keramida@freebsd.org> Cc: Jiawei Ye <leafy7382@gmail.com> Subject: Re: How does one know how many thread a process owns? Message-ID: <425FA2AB.4070905@freebsd.org> In-Reply-To: <20050415104814.GA5278@orion.daedalusnetworks.priv> 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> <20050415055604.N93987@lexi.siliconlandmark.com> <20050415104814.GA5278@orion.daedalusnetworks.priv>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: >On 2005-04-15 06:02, Andre Guibert de Bruet <andy@siliconlandmark.com> wrote: > > >>Please commit the following patch which unbreaks the display problems >>which appear on 80-column terminals with the THR column (The D would wrap >>and cause weird behavior): >> >>http://bling.properkernel.com/freebsd/top.machine.c.patch >> >> > >This seems reasonable. I only have UP machines, which don't need the change >from COMMAND to CMD, but Andrey Chernov has already brought to my attention >that adding the THR column broke the listing in SMP machines. > >David, do you think it's ok to change s/COMMAND/CMD/ or is that too silly to >do to fit THR in there? I can probably reduce the columns of THR to 4 too, >since I noticed that after 1500 threads the value of THR doesn't increase >anymore here; so, being able to display up to 9999 threads is ok I guess. > > > I think we should change THR columns to 4, 9999 threads is okay for me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425FA2AB.4070905>