psgrep: various tweaks (#3013)

This commit is contained in:
Waldir Pimenta
2019-05-12 15:30:55 +01:00
committed by Starbeamrainbowlabs
parent 2df12038b2
commit 86446e1bb2

View File

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