mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
736 B
736 B
Name
pgrep - look up processes based on name
Synopsis
$ pgrep [--count] [-d delimiter] [--ignore-case] [--list-name] [--uid uid-list] [--invert-match] <process-name>
Options
-
-c
,--count
: Suppress normal output and print the number of matching processes -
-d
,--delimiter
: Set the string used to delimit multiple pids -
-i
,--ignore-case
: Make matches case-insensitive -
-l
,--list-name
: List the process name in addition to its pid -
-U uid-list
,--uid uid-list
: Select only processes whose UID is in the given comma-separated list. Login name or numerical user ID may be used -
-v
,--invert-match
: Select non-matching lines
Arguments
process-name
: Process name to search for