mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
pgrep: add more info link (#5446)
This commit is contained in:
parent
b80a854c4a
commit
160721def0
1 changed files with 6 additions and 5 deletions
|
@ -1,15 +1,16 @@
|
|||
# pgrep
|
||||
|
||||
> Find or signal process by name.
|
||||
> Find or signal processes by name.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man1/pkill.1.html>.
|
||||
|
||||
- Return PIDs of any running processes with a matching command string:
|
||||
|
||||
`pgrep {{process_name}}`
|
||||
|
||||
- Search full command line with parameters instead of just the process name:
|
||||
- Search for processes including their command line options:
|
||||
|
||||
`pgrep -f "{{process_name}} {{parameter}}"`
|
||||
`pgrep --full "{{process_name}} {{parameter}}"`
|
||||
|
||||
- Search for process run by a specific user:
|
||||
- Search for processes run by a specific user:
|
||||
|
||||
`pgrep -u root {{process_name}}`
|
||||
`pgrep --euid root {{process_name}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue