top(1) displaying threads

Niki Denev nike_d at cytexbg.com
Wed Nov 30 19:35:50 GMT 2005


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


More information about the freebsd-current mailing list