System Grab Bag

View all TLDR pages from common (or from all pages)

pgrep

Find or signal processes by name. More information: https://www.man7.org/linux/man-pages/man1/pkill.1.html.
  • Return PIDs of any running processes with a matching command string:
    pgrep {{process_name}}
  • Search for processes including their command-line options:
    pgrep --full "{{process_name}} {{parameter}}"
  • Search for processes run by a specific user:
    pgrep --euid root {{process_name}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.