Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 16:03:19 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        "Julian Elischer" <julian@elischer.org>
Cc:        clsung@freebsd.org, LI Xin <delphij@delphij.net>, current@freebsd.org
Subject:   Re: RFC: top displays jail id
Message-ID:  <6eb82e0704160103s7ed724e6u4f24ed4188f2dcde@mail.gmail.com>
In-Reply-To: <46231B1B.6050600@delphij.net>
References:  <6eb82e0704152113t1247b3a4tb8b0655291c8cceb@mail.gmail.com> <46231258.5070208@elischer.org> <46231B1B.6050600@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/16/07, LI Xin <delphij@delphij.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0704160103s7ed724e6u4f24ed4188f2dcde>