1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/psgrep.md
2018-11-24 12:37:30 +00:00

15 lines
319 B
Markdown

# psgrep
> Search through processes with grep.
- Find process lines containing a specific string:
`psgrep {{process_name}}`
- Find process lines containing a specific string, do not include headers:
`psgrep -n {{process_name}}`
- Search using simplified format (PID, user, command):
`psgrep -s {{process_name}}`