top(1) displaying threads

John Baldwin jhb at freebsd.org
Wed Nov 30 18:37:23 GMT 2005


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.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list