RFC: top displays jail id

Rong-en Fan grafan at gmail.com
Mon Apr 16 08:03:21 UTC 2007


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).


Regards,
Rong-En Fan


More information about the freebsd-current mailing list