path: root/contrib/top/top.X
diff options
Diffstat (limited to 'contrib/top/top.X')
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index 9c54f85637e8..15cf2dcb5119 100644
--- a/contrib/top/top.X
+++ b/contrib/top/top.X
@@ -20,6 +20,8 @@ top \- display and update information about the top cpu processes
] [
.BI \-s time
] [
+.BI \-J jail
+] [
.BI \-U username
] [
.I number
@@ -171,6 +173,21 @@ values are \*(lqcpu\*(rq, \*(lqsize\*(rq, \*(lqres\*(rq, and \*(lqtime\*(rq,
but may vary on different operating systems. Note that
not all operating systems support this option.
+.BI \-J jail
+Show only those processes owned by
+.IR jail .
+This may be either the
+.B jid
+.B name
+of the jail.
+.B 0
+to limit to host processes.
+Using this option implies the
+.B \-j
.BI \-U username
Show only those processes owned by
.IR username .
@@ -315,6 +332,12 @@ Toggle the display of
.IR jail (8)
+.B J
+Display only processes owned by a specific jail (prompt for jail).
+If the jail specified is simply \*(lq+\*(rq, then processes belonging
+to all jails and the host will be displayed.
+This will also enable the display of JID.
.B P
Toggle the display of per-CPU statistics.