summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2014-06-26 08:55:06 +0000
committerpluknet <pluknet@FreeBSD.org>2014-06-26 08:55:06 +0000
commit42ff249abc485cdcc25d40fd2fee625ba32cbfe3 (patch)
treeec76f95faf6f7f2f8b49e69183660c7a749b6b56 /bin/ps/keyword.c
parent2e4a0412a10e21f1c9dfdf32e4a653da5f8a0347 (diff)
downloadFreeBSD-src-42ff249abc485cdcc25d40fd2fee625ba32cbfe3.zip
FreeBSD-src-42ff249abc485cdcc25d40fd2fee625ba32cbfe3.tar.gz
MFC r267196:
Add support for inspecting process flags set in p_flag2.
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 21e6791..3a0c323 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -87,8 +87,10 @@ static VAR var[] = {
{"etimes", "ELAPSED", NULL, USER, elapseds, 0, CHAR, NULL, 0},
{"euid", "", "uid", 0, NULL, 0, CHAR, NULL, 0},
{"f", "F", NULL, 0, kvar, KOFF(ki_flag), INT, "x", 0},
+ {"f2", "F2", NULL, 0, kvar, KOFF(ki_flag2), INT, "08x", 0},
{"fib", "FIB", NULL, 0, kvar, KOFF(ki_fibnum), INT, "d", 0},
{"flags", "", "f", 0, NULL, 0, CHAR, NULL, 0},
+ {"flags2", "", "f2", 0, NULL, 0, CHAR, NULL, 0},
{"gid", "GID", NULL, 0, kvar, KOFF(ki_groups), UINT, UIDFMT, 0},
{"group", "GROUP", NULL, LJUST, egroupname, 0, CHAR, NULL, 0},
{"ignored", "", "sigignore", 0, NULL, 0, CHAR, NULL, 0},
OpenPOWER on IntegriCloud