mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:42:08 +02:00
psgrep: various tweaks (#3013)
This commit is contained in:
parent
2df12038b2
commit
86446e1bb2
1 changed files with 3 additions and 3 deletions
|
@ -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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue