diff options
author | brian <brian@FreeBSD.org> | 2001-04-11 22:42:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-04-11 22:42:54 +0000 |
commit | eac81d474ba5e5810026e2bf764aaf07d529c43e (patch) | |
tree | 0b5f25023d245c3b7800359e3109f7e41c029603 /bin/ps | |
parent | 96b8f4bcfec7f0f9b417b8a78a441981da87e5d4 (diff) | |
download | FreeBSD-src-eac81d474ba5e5810026e2bf764aaf07d529c43e.zip FreeBSD-src-eac81d474ba5e5810026e2bf764aaf07d529c43e.tar.gz |
Introduce -osid and -otsid
Submitted by: dd
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/keyword.c | 4 | ||||
-rw-r--r-- | bin/ps/ps.1 | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index af33593..a3d0066 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -148,6 +148,8 @@ VAR var[] = { {"ruid", "RUID", NULL, 0, kvar, NULL, UIDLEN, KOFF(ki_ruid), UINT, UIDFMT}, {"ruser", "RUSER", NULL, LJUST|DSIZ, runame, s_runame, USERLEN}, + {"sid", "SID", NULL, 0, kvar, NULL, PIDLEN, KOFF(ki_sid), UINT, + PIDFMT}, {"sig", "PENDING", NULL, 0, kvar, NULL, 8, KOFF(ki_siglist), INT, "x"}, {"sigcatch", "CAUGHT", NULL, 0, kvar, NULL, 8, KOFF(ki_sigcatch), UINT, "x"}, @@ -167,6 +169,8 @@ VAR var[] = { {"time", "TIME", NULL, USER, cputime, NULL, 9}, {"tpgid", "TPGID", NULL, 0, kvar, NULL, 4, KOFF(ki_tpgid), UINT, PIDFMT}, + {"tsid", "TSID", NULL, 0, kvar, NULL, PIDLEN, KOFF(ki_tsid), UINT, + PIDFMT}, {"tsiz", "TSIZ", NULL, 0, tsize, NULL, 4}, {"tt", "TT ", NULL, 0, tname, NULL, 4}, {"tty", "TTY", NULL, LJUST, longtname, NULL, 8}, diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 6791626..2e4877b 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -430,6 +430,8 @@ real user .Tn ID .It ruser user name (from ruid) +.It sid +session ID .It sig pending signals (alias pending) .It sigcatch @@ -457,6 +459,8 @@ control terminal process group .Tn ID .\".It trss .\"text resident set size (in Kbytes) +.It tsid +control terminal session ID .It tsiz text size (in Kbytes) .It tt |