summaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2010-10-26 00:21:31 +0000
committerAttilio Rao <attilio@FreeBSD.org>2010-10-26 00:21:31 +0000
commitf8517ab5c4e68d4f3d1cb2c63ba550789af9d317 (patch)
treeb95e4fd3abe571b9814cb151b574c53f64a08756 /bin/ps
parent22c2072a2defed237541cb0fcc2d9d58f86ad5e1 (diff)
Notes
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/keyword.c2
-rw-r--r--bin/ps/ps.12
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 4afad96b7d16..84c37d6f7f12 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -186,6 +186,8 @@ static VAR var[] = {
UINT, UIDFMT, 0},
{"svuid", "SVUID", NULL, 0, kvar, NULL, UIDLEN, KOFF(ki_svuid),
UINT, UIDFMT, 0},
+ {"tdaddr", "TDADDR", NULL, 0, kvar, NULL, sizeof(void *) * 2,
+ KOFF(ki_tdaddr), KPTR, "lx", 0},
{"tdev", "TDEV", NULL, 0, tdev, NULL, 5, 0, CHAR, NULL, 0},
{"tdnam", "TDNAM", NULL, LJUST, tdnam, NULL, COMMLEN, 0, CHAR, NULL, 0},
{"time", "TIME", NULL, USER, cputime, NULL, 9, 0, CHAR, NULL, 0},
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index bb0cd0873cb3..17d121169dbc 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -586,6 +586,8 @@ symbolic process state (alias
saved gid from a setgid executable
.It Cm svuid
saved UID from a setuid executable
+.It Cm tdaddr
+thread address
.It Cm tdev
control terminal device number
.It Cm time