Module Name: src Committed By: christos Date: Tue Sep 14 22:14:11 UTC 2021
Modified Files: src/bin/ps: ps.1 Log Message: reflect reality on flags. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/bin/ps/ps.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ps/ps.1 diff -u src/bin/ps/ps.1:1.113 src/bin/ps/ps.1:1.114 --- src/bin/ps/ps.1:1.113 Tue Sep 14 13:09:18 2021 +++ src/bin/ps/ps.1 Tue Sep 14 18:14:11 2021 @@ -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 @@ The percentage of real memory used by th .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 @@ the include file .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