summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-03-20 10:40:36 +0000
committerpjd <pjd@FreeBSD.org>2005-03-20 10:40:36 +0000
commita97367034b4a1fdcbd5755cc9beb76dd0a944c3f (patch)
treeabc64ab7c04a53447a3d8b412cc1d99d2f9b7990 /bin/ps
parentd4e1d8c06384bc9e179a30804d3195f219879189 (diff)
downloadFreeBSD-src-a97367034b4a1fdcbd5755cc9beb76dd0a944c3f.zip
FreeBSD-src-a97367034b4a1fdcbd5755cc9beb76dd0a944c3f.tar.gz
Add and document the 'jid' keyword for the '-o' option.
Reviewed by: gad MFC after: 3 days
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/keyword.c1
-rw-r--r--bin/ps/ps.14
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index ed3dafe..564bb31 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -95,6 +95,7 @@ static VAR var[] = {
{"inblk", "INBLK", NULL, USER, rvar, NULL, 4, ROFF(ru_inblock), LONG,
"ld", 0},
{"inblock", "", "inblk", 0, NULL, NULL, 0, 0, CHAR, NULL, 0},
+ {"jid", "JID", NULL, 0, kvar, NULL, 6, KOFF(ki_jid), INT, "d", 0},
{"jobc", "JOBC", NULL, 0, kvar, NULL, 4, KOFF(ki_jobc), SHORT, "d",
0},
{"ktrace", "KTRACE", NULL, 0, kvar, NULL, 8, KOFF(ki_traceflag), INT,
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 24142f6..4381220 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd March 27, 2004
+.Dd March 20, 2005
.Dt PS 1
.Os
.Sh NAME
@@ -471,6 +471,8 @@ the process flags, in hexadecimal (alias
.It Cm inblk
total blocks read (alias
.Cm inblock )
+.It Cm jid
+jail ID
.It Cm jobc
job control count
.It Cm ktrace
OpenPOWER on IntegriCloud