summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2004-02-08 23:57:19 +0000
committerjmallett <jmallett@FreeBSD.org>2004-02-08 23:57:19 +0000
commit6f2d2e36e047d8788d5ede826905811d29e5edf7 (patch)
treef104eb48def637e9cb6152803c393081631bd2d8 /bin/ps/keyword.c
parenta496e864ba909c18ed2483c06de63a1d1351b203 (diff)
downloadFreeBSD-src-6f2d2e36e047d8788d5ede826905811d29e5edf7.zip
FreeBSD-src-6f2d2e36e047d8788d5ede826905811d29e5edf7.tar.gz
MFp4 @46705:
Support "uprocp" exactly like "paddr" with the former having been documented in the manual but not implemented. PR: 42484
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 918feca..ec06249 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -192,6 +192,8 @@ static VAR var[] = {
UIDFMT, 0},
{"upr", "UPR", NULL, 0, kvar, NULL, 3, KOFF(ki_pri.pri_user), UCHAR,
"d", 0},
+ {"uprocp", "UPROCP", NULL, 0, kvar, NULL, 8, KOFF(ki_paddr), KPTR,
+ "lx", 0},
{"user", "USER", NULL, LJUST|DSIZ, uname, s_uname, USERLEN, 0, CHAR,
NULL, 0},
{"usrpri", "", "upr", 0, NULL, NULL, 0, 0, CHAR, NULL, 0},
OpenPOWER on IntegriCloud