pgrep#

  • -l: List the process name in addition to the PID.
  • -a: List the full command line in addition to the PID.
  • -u: Select only processes whose effective user ID is listed.
  • -f: Match the pattern against the full command line (not just the process name).