Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ps reflect reality on flags.



details:   https://anonhg.NetBSD.org/src/rev/02e9c927383e
branches:  trunk
changeset: 1023566:02e9c927383e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 14 22:14:11 2021 +0000

description:
reflect reality on flags.

diffstat:

 bin/ps/ps.1 |  19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r 1273130ddac5 -r 02e9c927383e bin/ps/ps.1
--- a/bin/ps/ps.1       Tue Sep 14 22:01:40 2021 +0000
+++ b/bin/ps/ps.1       Tue Sep 14 22:14:11 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ps.1,v 1.113 2021/09/14 17:09:18 christos Exp $
+.\"    $NetBSD: ps.1,v 1.114 2021/09/14 22:14:11 christos Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -292,10 +292,11 @@
 .It Ar flags
 The flags (in hexadecimal) associated with the process as in
 the include file
-.In sys/proc.h :
+.In sys/sysctl.h :
 .Bl -column P_NOCLDSTOP P_NOCLDSTOP compact
 .It Dv "P_ADVLOCK" Ta No "0x00000001   process may hold a POSIX advisory lock"
 .It Dv "P_CONTROLT" Ta No "0x00000002  process has a controlling terminal"
+.It Dv "P_INMEM" Ta No "0x00000004     process is in memory"
 .It Dv "P_NOCLDSTOP" Ta No "0x00000008 no" Dv SIGCHLD No when children stop
 .It Dv "P_PPWAIT" Ta No "0x00000010    parent is waiting for child to exec/exit"
 .It Dv "P_PROFIL" Ta No "0x00000020    process has started profiling"
@@ -303,17 +304,21 @@
 .It Dv "P_SINTR" Ta No "0x00000080     sleep is interruptible"
 .It Dv "P_SUGID" Ta No "0x00000100     process had set id privileges since last exec"
 .It Dv "P_SYSTEM" Ta No "0x00000200    system process: no sigs or stats"
-.It Dv "P_TIMEOUT" Ta No "0x00000400   timing out during sleep"
+.It Dv "P_SA" Ta No "0x00000400        process is using scheduler activations (old)"
 .It Dv "P_TRACED" Ta No "0x00000800    process is being traced"
 .It Dv "P_WAITED" Ta No "0x00001000    debugging process has waited for child"
 .It Dv "P_WEXIT" Ta No "0x00002000     working on exiting"
 .It Dv "P_EXEC" Ta No "0x00004000      process called" Xr execve 2
 .It Dv "P_OWEUPC" Ta No "0x00008000    owe process an addupc() call at next ast"
-.\" the routine addupc is not documented in the man pages
-.It Dv "P_NOCLDWAIT" Ta No "0x00020000 no zombies when children die"
+.It Dv "P_NOCLDWAIT" Ta No "0x00020000 no zombies if child dies"
 .It Dv "P_32" Ta No "0x00040000        32-bit process (used on 64-bit kernels)"
-.It Dv "P_BIGLOCK" Ta No "0x00080000   process needs kernel ``big lock'' to run"
-.It Dv "P_INEXEC" Ta No "0x00100000    process is exec'ing and cannot be traced"
+.It Dv "P_CLDSIGIGN" Ta No "0x0008000  no" Dv SIGCHLD when children stop
+.It Dv "P_SYSTRACE" Ta No "0x00200000  process is under" Xr systrace 1 (old)
+.It Dv "P_CHTRACED" Ta No "0x00400000  process has been traced and reparented"
+.It Dv "P_STOPFORK" Ta No "0x00800000  process stops at" Xr fork 2
+.It Dv "P_STOPEXEC" Ta No "0x01000000  process stops at" Xr exec 2
+.It Dv "P_STOPEXIT" Ta No "0x02000000  process stops at" Xr _exit 2"
+.It Dv "P_SYSCALL" Ta No "0x04000000   process is tracing syscalls"
 .El
 .It Ar lim
 The soft limit on memory used, specified via a call to



Home | Main Index | Thread Index | Old Index