The Fidelix Linux Distribution

Simple, Stable, and Secure

PGREP(1) User Commands PGREP(1)

pgrep - manual page for pgrep 1.31.1

pgrep [-flanovx] [-s SID|-P PPID|PATTERN]

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

Display process(es) selected by regex PATTERN

-l
Show command name too
-a
Show command line too
-f
Match against entire command line
-n
Show the newest process only
-o
Show the oldest process only
-v
Negate the match
-x
Match whole name (not substring)
-s
Match session ID (0 for current)
-P
Match parent process ID
April 2020 Fidelix 1.0