Skip to main content

Find or signal processes by name.

# To return PIDs of any running processes with a matching command string:
pgrep <process_name>

# To search for processes including their command line options:
pgrep --full "<process_name> <parameter>"

# To search for processes run by a specific user:
pgrep --euid root <process_name>