summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ps/ps.12
-rw-r--r--bin/ps/ps.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 105370b..230c6df 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -142,7 +142,7 @@ Repeat the information header as often as necessary to guarantee one
header per page of information.
.It Fl j
Print information associated with the following keywords:
-.Cm user , pid , ppid , pgid , jobc , state , tt , time ,
+.Cm user , pid , ppid , pgid , sid , jobc , state , tt , time ,
and
.Cm command .
.It Fl L
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index b2b7b27..8f96fe2 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -142,7 +142,7 @@ static void sizevars(void);
static void usage(void);
static char dfmt[] = "pid,tt,state,time,command";
-static char jfmt[] = "user,pid,ppid,pgid,jobc,state,tt,time,command";
+static char jfmt[] = "user,pid,ppid,pgid,sid,jobc,state,tt,time,command";
static char lfmt[] = "uid,pid,ppid,cpu,pri,nice,vsz,rss,mwchan,state,"
"tt,time,command";
static char o1[] = "pid";
OpenPOWER on IntegriCloud