From owner-freebsd-stable@FreeBSD.ORG Wed Nov 30 18:37:23 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9779F16A420; Wed, 30 Nov 2005 18:37:23 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C8D43D6D; Wed, 30 Nov 2005 18:37:20 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 2886913 for multiple; Wed, 30 Nov 2005 13:35:17 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jAUIbGWG082484; Wed, 30 Nov 2005 13:37:16 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 30 Nov 2005 13:18:15 -0500 User-Agent: KMail/1.8.2 References: <200511301855.20346.nike_d@cytexbg.com> In-Reply-To: <200511301855.20346.nike_d@cytexbg.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511301318.16731.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-stable@freebsd.org Subject: Re: top(1) displaying threads X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2005 18:37:23 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org