summaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2014-07-13 21:59:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2014-07-13 21:59:51 +0000
commitf2d40e7271682c91645171dbb2e43703eb599740 (patch)
treeeaf34d516fe36e93961c9d3b2eab7f878c417168 /bin/ps
parent2bd94ae6080d554545271f607803e06ac78f2b82 (diff)
Update procflags list, add PS_SYSTEM, PS_EMBRYO, PS_ZOMBIE and
PS_NOBROADCASTKILL. The resulting table is shifted so far right that a few additional lines had to be wrapped. Not ideal but the best we can do at the moment.
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.151
1 files changed, 30 insertions, 21 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 86505e57348..a18e92555e2 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ps.1,v 1.96 2014/06/12 06:43:15 jmc Exp $
+.\" $OpenBSD: ps.1,v 1.97 2014/07/13 21:59:50 claudio Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: June 12 2014 $
+.Dd $Mdocdate: July 13 2014 $
.Dt PS 1
.Os
.Sh NAME
@@ -319,25 +319,34 @@ Scheduling priority.
The process flags (in hexadecimal), as defined in the include file
.In sys/proc.h :
.Bd -literal
-PS_CONTROLT 0x1 process has a controlling terminal
-PS_EXEC 0x2 process called exec(3)
-PS_INEXEC 0x4 process is doing an exec right now
-PS_EXITING 0x8 process is exiting
-PS_SUGID 0x10 process had set ID privileges since
- last exec
-PS_SUGIDEXEC 0x20 last exec(3) was set[ug]id
-PS_PPWAIT 0x40 parent is waiting for process to
- exec/exit
-PS_ISPWAIT 0x80 process is parent of PPWAIT child
-PS_PROFIL 0x100 process has started profiling
-PS_TRACED 0x200 process is being traced
-PS_WAITED 0x400 debugging process has waited for
- child
-PS_COREDUMP 0x800 busy coredumping
-PS_SINGLEEXIT 0x1000 other threads must die
-PS_SINGLEUNWIND 0x2000 other threads must unwind
-PS_NOZOMBIE 0x4000 pid 1 waits for me instead of dad
-PS_STOPPED 0x8000 just stopped, need to send SIGCHLD
+PS_CONTROLT 0x1 process has a controlling
+ terminal
+PS_EXEC 0x2 process called exec(3)
+PS_INEXEC 0x4 process is doing an exec right
+ now
+PS_EXITING 0x8 process is exiting
+PS_SUGID 0x10 process had set ID privileges
+ since last exec
+PS_SUGIDEXEC 0x20 last exec(3) was set[ug]id
+PS_PPWAIT 0x40 parent is waiting for process
+ to exec/exit
+PS_ISPWAIT 0x80 process is parent of PPWAIT
+ child
+PS_PROFIL 0x100 process has started profiling
+PS_TRACED 0x200 process is being traced
+PS_WAITED 0x400 debugging process has waited
+ for child
+PS_COREDUMP 0x800 busy coredumping
+PS_SINGLEEXIT 0x1000 other threads must die
+PS_SINGLEUNWIND 0x2000 other threads must unwind
+PS_NOZOMBIE 0x4000 pid 1 waits for me instead of
+ dad
+PS_STOPPED 0x8000 just stopped, need to send
+ SIGCHLD
+PS_SYSTEM 0x10000 No signals, stats or swapping
+PS_EMBRYO 0x20000 New process, not yet fledged
+PS_ZOMBIE 0x40000 Dead and ready to be waited for
+PS_NOBROADCASTKILL 0x80000 Process excluded from kill -1
.Ed
.It Cm re
Core residency time (in seconds; 127 = infinity).