RFC: top displays jail id

Cheng-Lung Sung clsung at tw.freebsd.org
Mon Apr 16 08:21:00 UTC 2007


On Mon, Apr 16, 2007 at 04:03:19PM +0800, Rong-en Fan wrote:
>  On 4/16/07, LI Xin <delphij at 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).

I thought you are talking about the same thing? :-)
-- 
Alan Cheng-Lung Sung - clsung@
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070416/77a214d3/attachment.pgp


More information about the freebsd-current mailing list