Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 21:36:14 +0200
From:      Niki Denev <nike_d@cytexbg.com>
To:        freebsd-current@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: top(1) displaying threads
Message-ID:  <200511302136.15450.nike_d@cytexbg.com>
In-Reply-To: <200511301318.16731.jhb@freebsd.org>
References:  <200511301855.20346.nike_d@cytexbg.com> <200511301318.16731.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 30 November 2005 20:18, John Baldwin wrote:
> On Wednesday 30 November 2005 11:55 am, Niki Denev wrote:
> > Hello,
> >
> > From some time in 6.0 and -current top(1) shows by default also the
> > kernel threads.
> > But the top(1) manual page still says that the default behaviour is NOT
> > to show them.
> >
> > Maybe something like this will be enough:
> >
> > --- usr.bin/top/top.local.1     Fri Jul 18 02:56:39 2003
> > +++ usr.bin/top/top.local.1.fix Wed Nov 30 18:51:35 2005
> > @@ -3,7 +3,7 @@
> >
> >  .SH DISPLAY OF THREADS
> >  The '-H' option will toggle the display of kernel visible thread
> > contexts. -At runtime the 'H' key will toggle this mode. The default is
> > OFF. +At runtime the 'H' key will toggle this mode. The default is ON.
> >
> >  .SH DESCRIPTION OF MEMORY
> >  Mem: 9220K Active, 1032K Inact, 3284K Wired, 1MB Cache, 2M Buf, 1320K
> > Free
>
> The manpage is correct.  The problem is that kernel threads such as
> ithreads are really kernel processes currently.

Oh, i see.
I was confused by the "THR" column, but now everything is clear :)

Thanks and sorry for the noise.

--niki



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