aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/top.X
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-17 03:12:39 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-17 03:12:39 +0000
commit6000ced11b58bf7e841ad7569dff3a40b675b888 (patch)
tree4e535601ecfa94915c8c4ffddd1c949ea023e3c7 /contrib/top/top.X
parentb653ca76bcff22d62df8b7b791e3630e7fe17aae (diff)
downloadsrc-6000ced11b58bf7e841ad7569dff3a40b675b888.tar.gz
src-6000ced11b58bf7e841ad7569dff3a40b675b888.zip
- Add a new 'j' switch and runtime option to toggle display jail id for
each process. - While I'm here, keep help message sorted by keys PR: 98489, 98975 Submitted by: clsung Approved by: delphij (mentor) MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=168799
Diffstat (limited to 'contrib/top/top.X')
-rw-r--r--contrib/top/top.X19
1 files changed, 16 insertions, 3 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index 304ee91e2b6f..49b6c2084942 100644
--- a/contrib/top/top.X
+++ b/contrib/top/top.X
@@ -10,7 +10,7 @@ top \- display and update information about the top cpu processes
.SH SYNOPSIS
.B top
[
-.B \-abCHIinqStuv
+.B \-abCHIijnqStuv
] [
.BI \-d count
] [
@@ -102,6 +102,11 @@ intelligent terminal.
Do not display idle processes.
By default, top displays both active and idle processes.
.TP
+.B \-j
+Display the
+.IR jail (8)
+id.
+.TP
.B \-t
Do not display the
.I top
@@ -283,6 +288,11 @@ command.
.BR I )
Toggle the display of idle processes.
.TP
+.B j
+Toggle the display of
+.IR jail (8)
+id.
+.TP
.B t
Toggle the display of the
.I top
@@ -308,8 +318,11 @@ It also includes information about physical and virtual memory allocation.
The remainder of the screen displays information about individual
processes. This display is similar in spirit to
.IR ps (1)
-but it is not exactly the same. PID is the process id, USERNAME is the name
-of the process's owner (if
+but it is not exactly the same. PID is the process id,
+JID, when displayed, is the
+.IR jail (8)
+ID corresponding to the process,
+USERNAME is the name of the process's owner (if
.B \-u
is specified, a UID column will be substituted for USERNAME),
PRI is the current priority of the process,