From 160721def0eeafb357f58bf8f16699ed44900b69 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 15 Mar 2021 15:29:40 -0300 Subject: [PATCH] pgrep: add more info link (#5446) --- pages/common/pgrep.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/common/pgrep.md b/pages/common/pgrep.md index 1f5221736e..50bbe43967 100644 --- a/pages/common/pgrep.md +++ b/pages/common/pgrep.md @@ -1,15 +1,16 @@ # pgrep -> Find or signal process by name. +> Find or signal processes by name. +> More information: . - 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}}`