summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.1
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-03-05 13:13:35 +0000
committerkib <kib@FreeBSD.org>2010-03-05 13:13:35 +0000
commit9b575d6cfa35359a26c022a0a266a114cda5a168 (patch)
tree18d5fd30edda01e78e83015f15fcf092753d204a /bin/ps/ps.1
parent3aef100f015a6480cac29fa12f44a99f7be5f669 (diff)
downloadFreeBSD-src-9b575d6cfa35359a26c022a0a266a114cda5a168.zip
FreeBSD-src-9b575d6cfa35359a26c022a0a266a114cda5a168.tar.gz
Update the list of the process flags. Note that the lists of pending
signals for process and its threads are distinct. Reviewed by: jilles MFC after: 2 weeks
Diffstat (limited to 'bin/ps/ps.1')
-rw-r--r--bin/ps/ps.118
1 files changed, 15 insertions, 3 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 46a371c..5c9689e 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 July 9, 2009
+.Dd March 5, 2010
.Dt PS 1
.Os
.Sh NAME
@@ -284,11 +284,10 @@ The percentage of real memory used by this process.
The flags associated with the process as in
the include file
.In sys/proc.h :
-.Bl -column P_STOPPED_SINGLE 0x4000000
+.Bl -column P_SINGLE_BOUNDARY 0x40000000
.It Dv "P_ADVLOCK" Ta No "0x00001 Process may hold a POSIX advisory lock"
.It Dv "P_CONTROLT" Ta No "0x00002 Has a controlling terminal"
.It Dv "P_KTHREAD" Ta No "0x00004 Kernel thread"
-.It Dv "P_NOLOAD" Ta No "0x00008 Ignore during load avg calculations"
.It Dv "P_PPWAIT" Ta No "0x00010 Parent is waiting for child to exec/exit"
.It Dv "P_PROFIL" Ta No "0x00020 Has started profiling"
.It Dv "P_STOPPROF" Ta No "0x00040 Has thread in requesting to stop prof"
@@ -305,8 +304,14 @@ the include file
.It Dv "P_STOPPED_SINGLE" Ta No "0x80000 Only one thread can continue"
.It Dv "P_PROTECTED" Ta No "0x100000 Do not kill on memory overcommit"
.It Dv "P_SIGEVENT" Ta No "0x200000 Process pending signals changed"
+.It Dv "P_SINGLE_BOUNDARY" Ta No "0x400000 Threads should suspend at user boundary"
+.It Dv "P_HWPMC" Ta No "0x800000 Process is using HWPMCs"
.It Dv "P_JAILED" Ta No "0x1000000 Process is in jail"
.It Dv "P_INEXEC" Ta No "0x4000000 Process is in execve()"
+.It Dv "P_STATCHILD" Ta No "0x8000000 Child process stopped or exited"
+.It Dv "P_INMEM" Ta No "0x10000000 Loaded into memory"
+.It Dv "P_SWAPPINGOUT" Ta No "0x20000000 Process is being swapped out"
+.It Dv "P_SWAPPINGIN" Ta No "0x40000000 Process is being swapped in"
.El
.It Cm label
The MAC label of the process.
@@ -615,6 +620,13 @@ wait channel (as a symbolic name)
.It Cm xstat
exit or stop status (valid only for stopped or zombie process)
.El
+.Pp
+Note that the
+.Cm pending
+column displays bitmask of signals pending in the process queue when
+.Fl H
+option is not specified, otherwise the per-thread queue of pending signals
+is shown.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
OpenPOWER on IntegriCloud