summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.1
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/ps.1
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/ps.1')
-rw-r--r--bin/ps/ps.114
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index c4239ea..3d7edf7 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd May 2, 2014
+.Dd June 6, 2014
.Dt PS 1
.Os
.Sh NAME
@@ -340,6 +340,15 @@ the include file
.It Dv "P_SWAPPINGIN" Ta No "0x40000000" Ta "Process is being swapped in"
.It Dv "P_PPTRACE" Ta No "0x80000000" Ta "Vforked child issued ptrace(PT_TRACEME)"
.El
+.It Cm flags2
+The flags kept in
+.Va p_flag2
+associated with the process as in
+the include file
+.In sys/proc.h :
+.Bl -column P2_INHERIT_PROTECTED 0x00000001
+.It Dv "P2_INHERIT_PROTECTED" Ta No "0x00000001" Ta "New children get P_PROTECTED"
+.El
.It Cm label
The MAC label of the process.
.It Cm lim
@@ -534,6 +543,9 @@ default FIB number, see
.It Cm flags
the process flags, in hexadecimal (alias
.Cm f )
+.It Cm flags2
+the additional set of process flags, in hexadecimal (alias
+.Cm f2 )
.It Cm gid
effective group ID (alias
.Cm egid )
OpenPOWER on IntegriCloud