From owner-freebsd-threads@FreeBSD.ORG Thu Jul 17 12:45:28 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0883937B401 for ; Thu, 17 Jul 2003 12:45:28 -0700 (PDT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 038A643F3F for ; Thu, 17 Jul 2003 12:45:27 -0700 (PDT) (envelope-from jkim@niksun.com) Received: from daemon.mj.niksun.com (daemon.mj.niksun.com [10.70.0.244]) h6HJjKlT080072; Thu, 17 Jul 2003 15:45:20 -0400 (EDT) (envelope-from jkim@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. From: Jung-uk Kim Organization: Niksun, Inc. To: Terry Lambert , Kai Mosebach Date: Thu, 17 Jul 2003 15:45:18 -0400 User-Agent: KMail/1.5.1 References: <003401c34bc5$104dcac0$0400a8c0@dread> <3F1638F6.F32171DA@mindspring.com> In-Reply-To: <3F1638F6.F32171DA@mindspring.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_OzvF/XgRLXEQHVU" Message-Id: <200307171545.18232.jkim@niksun.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-threads@freebsd.org Subject: [PATCH] Re: Threads in top X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 19:45:28 -0000 --Boundary-00=_OzvF/XgRLXEQHVU Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit Content-Disposition: inline The patch adds command line option "-H" and interactive command "H". Enjoy, Jung-uk Kim On Thursday 17 July 2003 01:49 am, Terry Lambert wrote: > Kai Mosebach wrote: > > is it somehow possible to hide the threads in top / only see the > > master process ? > > The ps program does this by not showing threads unless invoked > with the "-H" option. Probably someone who wants to hide the > threads in top (hint hint) should do what ps does in order to > make top act the same way (Darwin uses "-M" instead of "-H", > but FreeBSD uses this for system dump image files). > > FWIW, the implementation detail is that everything is returned, > and the filtering occurs on display. > > -- Terry --Boundary-00=_OzvF/XgRLXEQHVU--