Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 13:18:15 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Niki Denev <nike_d@cytexbg.com>, freebsd-stable@freebsd.org
Subject:   Re: top(1) displaying threads
Message-ID:  <200511301318.16731.jhb@freebsd.org>
In-Reply-To: <200511301855.20346.nike_d@cytexbg.com>
References:  <200511301855.20346.nike_d@cytexbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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