mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 02:02:07 +02:00
16 lines
370 B
Markdown
16 lines
370 B
Markdown
# psgrep
|
|
|
|
> Search running processes with `grep`.
|
|
> More information: <https://jvz.github.io/psgrep>.
|
|
|
|
- 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}}`
|