From owner-freebsd-current@FreeBSD.ORG Mon Apr 16 08:21:00 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BF9416A400 for ; Mon, 16 Apr 2007 08:21:00 +0000 (UTC) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id 532DF13C4BC for ; Mon, 16 Apr 2007 08:21:00 +0000 (UTC) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id BA4DD7EE16; Mon, 16 Apr 2007 16:06:58 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ipwEcAyAF+pw; Mon, 16 Apr 2007 16:06:58 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1038) id 0581F7F116; Mon, 16 Apr 2007 16:06:58 +0800 (CST) Date: Mon, 16 Apr 2007 16:06:57 +0800 From: Cheng-Lung Sung To: Rong-en Fan Message-ID: <20070416080657.GA47346@FreeBSD.csie.nctu.edu.tw> References: <6eb82e0704152113t1247b3a4tb8b0655291c8cceb@mail.gmail.com> <46231258.5070208@elischer.org> <46231B1B.6050600@delphij.net> <6eb82e0704160103s7ed724e6u4f24ed4188f2dcde@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <6eb82e0704160103s7ed724e6u4f24ed4188f2dcde@mail.gmail.com> X-Fingerprint: E0BC 57F9 F44B 46C6 DB53 8462 F807 89F3 956E 8BC1 X-Public-Key: http://freefall.FreeBSD.org/~clsung/pubring.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: clsung@freebsd.org, LI Xin , Julian Elischer , current@freebsd.org Subject: Re: RFC: top displays jail id X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 08:21:00 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=big5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2007 at 04:03:19PM +0800, Rong-en Fan wrote: > On 4/16/07, LI Xin wrote: > > Julian Elischer wrote: > > [...] > > > how about ONLY showing processes in a particular jail? > > > > What about just 'jexec N top'? :-) > > > > Currently top(1) has no ability to attach particular jail to do things > > like obtaining usernames from within a jail. Personally I think the > > jexec approach is more useful because it can reveal usernames within the > > jail. >=20 > I actually thought about something like 'top -j jid', but I found > that 'jexec jid top' is more useful (it displays usernames). I thought you are talking about the same thing? :-) --=20 Alan Cheng-Lung Sung - clsung@ --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIy6h+AeJ85Vui8ERAliNAJ9D9PS3Y7nhYknfBlfjbA6vgeOvMQCdE5h6 Zu4pebUJwlpglP6zMEq5x5c= =w+ZJ -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--