summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-05-23 21:35:35 +0000
committergad <gad@FreeBSD.org>2004-05-23 21:35:35 +0000
commit37581d73985792a5398220d48cac631cad39b7f9 (patch)
tree64b73fb95fb2dc478066cb89052382bf1cbc7286 /bin/ps/ps.c
parent4680df73af087d5d9a4c31114f623245da99ec77 (diff)
downloadFreeBSD-src-37581d73985792a5398220d48cac631cad39b7f9.zip
FreeBSD-src-37581d73985792a5398220d48cac631cad39b7f9.tar.gz
Add the 'sid' info to the output of `ps -j', to make up for the 'sess'
(session-pointer) info which was dropped from `ps' earlier in 5.x. PR: bin/59423 Submitted by: Jilles Tjoelker
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c2
1 files changed, 1 insertions, 1 deletions
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