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
This commit is contained in:
Garance A Drosehn 2004-05-23 21:35:35 +00:00
parent 2631c7774f
commit 259fcfacc4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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";