2018-11-24 15:37:30 +03:00
|
|
|
# psgrep
|
|
|
|
|
2019-05-12 17:30:55 +03:00
|
|
|
> Search running processes with `grep`.
|
2019-05-29 16:53:55 +03:00
|
|
|
> More information: <https://jvz.github.io/psgrep>.
|
2018-11-24 15:37:30 +03:00
|
|
|
|
|
|
|
- Find process lines containing a specific string:
|
|
|
|
|
|
|
|
`psgrep {{process_name}}`
|
|
|
|
|
2019-05-12 17:30:55 +03:00
|
|
|
- Find process lines containing a specific string, excluding headers:
|
2018-11-24 15:37:30 +03:00
|
|
|
|
|
|
|
`psgrep -n {{process_name}}`
|
|
|
|
|
2019-05-12 17:30:55 +03:00
|
|
|
- Search using a simplified format (PID, user, command):
|
2018-11-24 15:37:30 +03:00
|
|
|
|
|
|
|
`psgrep -s {{process_name}}`
|