1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 18:04:55 +02:00
tldr/pages/common/psgrep.md
2019-05-12 15:30:55 +01:00

318 B

psgrep

Search running processes with grep.

  • Find process lines containing a specific string:

psgrep {{process_name}}

  • Find process lines containing a specific string, excluding headers:

psgrep -n {{process_name}}

  • Search using a simplified format (PID, user, command):

psgrep -s {{process_name}}