From owner-freebsd-current@FreeBSD.ORG Wed Apr 13 09:15:23 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA72A16A4CE for ; Wed, 13 Apr 2005 09:15:23 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76ACD43D5D for ; Wed, 13 Apr 2005 09:15:23 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so99380rng for ; Wed, 13 Apr 2005 02:15:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cr7cOBHM2o70FCkgQtAnJxTazrSdl2uavny1EOrebpbKnDNLPsi/nuUhsnDDMBJUSVTiWm+7gFoQssRHyKEuFMdh0aeOxU0S6BP3eANRuUrDQ3bGLpRIR43I5Jgx/ZnGLyyUDpU+9GBi17QFb6KM9jcasa+z3Vvs2SFdUsr+0XI= Received: by 10.39.1.41 with SMTP id d41mr409519rni; Wed, 13 Apr 2005 02:15:23 -0700 (PDT) Received: by 10.38.22.48 with HTTP; Wed, 13 Apr 2005 02:15:23 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2005 17:15:23 +0800 From: Jiawei Ye To: David Xu In-Reply-To: <425CD009.6040208@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <425CC7F8.3030803@samsco.org> <425CD009.6040208@freebsd.org> cc: freebsd-current@freebsd.org Subject: Re: How does one know how many thread a process owns? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jiawei Ye List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 09:15:23 -0000 On 4/13/05, David Xu wrote: > I believe he wants to see total threads number in a process. add a column > to top to display total kernel threads in per-process, p_numthreads in pr= oc > structure is what you need . :) >=20 > David Xu Exactly what I want. Is is possible to modify our top? Jiawei Ye --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming