From owner-freebsd-current@FreeBSD.ORG Mon Apr 16 08:03:21 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 1E60416A400 for ; Mon, 16 Apr 2007 08:03:21 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id A9CFB13C459 for ; Mon, 16 Apr 2007 08:03:20 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so879924ugh for ; Mon, 16 Apr 2007 01:03:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PqfMpXXx6CF2O06/z01EgT1DL6Nbh4cG0nUu3yUQBnFakmRID2c341HTNuOJtbFfr+Neu86TyAOfigg1i+31xgNk9BXtBxKAw+c0iGykV1dK89dKg8mV9vyBQuN1+GqArvS+c6fQB1d8eXbAIAUlGk4c/0WF2ovYFw2PmTqijsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Jz5wSyLmo7Mwcr7Cev7mAzTH0eJPlKOkt8eqgT/vyCHfax5ZwysYPj4oKDDfmj9hq4UMfIFxprWsRtBgFf7FLyyORi176efeg3hJ+5A5Ey2qaEGhgmNzaBL4plf7uIwbmWdAysu5XMGU4i+hs4FOu/YXu0diS95GUmUsdR6PSnk= Received: by 10.82.154.2 with SMTP id b2mr7834655bue.1176710599213; Mon, 16 Apr 2007 01:03:19 -0700 (PDT) Received: by 10.82.106.12 with HTTP; Mon, 16 Apr 2007 01:03:19 -0700 (PDT) Message-ID: <6eb82e0704160103s7ed724e6u4f24ed4188f2dcde@mail.gmail.com> Date: Mon, 16 Apr 2007 16:03:19 +0800 From: "Rong-en Fan" To: "Julian Elischer" In-Reply-To: <46231B1B.6050600@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0704152113t1247b3a4tb8b0655291c8cceb@mail.gmail.com> <46231258.5070208@elischer.org> <46231B1B.6050600@delphij.net> Cc: clsung@freebsd.org, LI Xin , 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:03:21 -0000 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. I actually thought about something like 'top -j jid', but I found that 'jexec jid top' is more useful (it displays usernames). Regards, Rong-En Fan