pgrep.c: Match based on process run state for issue 109

References:
 procps-ng/procps#109
This commit is contained in:
ed
2019-01-03 22:34:14 +00:00
committed by Craig Small
parent 866a27cdcd
commit 7b4ad698cc
2 changed files with 18 additions and 4 deletions

View File

@@ -154,6 +154,9 @@ than
\fB\-L\fR, \fB\-\-logpidfile\fR
Fail if pidfile (see -F) not locked.
.TP
\fB\-r\fR, \fB\-\-runstates\fR \fID,R,S,Z,\fP...
Match only processes which match the process state.
.TP
\fB\-\-ns \fIpid\fP
Match processes that belong to the same namespaces. Required to run as
root to match processes from other users. See \-\-nslist for how to limit