pgrep.c: change to allow 'older than' style selection

pgrep.1: man page addition for above selection
Makefile.am: addition of global.c to include sections since boot in pgrep.
This commit is contained in:
ed
2018-11-09 22:03:17 +00:00
committed by Craig Small
parent d3e0ff5a0a
commit 41b9e62be7
3 changed files with 24 additions and 7 deletions

View File

@@ -100,6 +100,9 @@ Select only the newest (most recently started) of the matching processes.
\fB\-o\fR, \fB\-\-oldest\fR
Select only the oldest (least recently started) of the matching processes.
.TP
\fB\-O\fR, \fB\-\-older\fR \fIsecs\fP
Select processes older than secs.
.TP
\fB\-P\fR, \fB\-\-parent\fR \fIppid\fP,...
Only match processes whose parent process ID is listed.
.TP