summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2014-06-06 22:52:11 +0000
committerpluknet <pluknet@FreeBSD.org>2014-06-06 22:52:11 +0000
commit8e7d32ee9651f2edc5f3d46ea4cddc32aa9af2eb (patch)
tree4ab985f9809796cfb7df64d7bd3b6a4f4a05fd88 /bin/ps/keyword.c
parenteadde3194517a8fd8aaaf92530c2e8ed6fc6ae9e (diff)
downloadFreeBSD-src-8e7d32ee9651f2edc5f3d46ea4cddc32aa9af2eb.zip
FreeBSD-src-8e7d32ee9651f2edc5f3d46ea4cddc32aa9af2eb.tar.gz
Add support for inspecting process flags set in p_flag2.
Reviewed by: jhb MFC after: 1 week
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