From 8a951f899ed2d102e9417e36e917d864f85af4ed Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Mon, 11 Mar 2024 10:43:05 +0100 Subject: [PATCH] TipsShell: Ajouter pgrep --- TipsShell.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TipsShell.md b/TipsShell.md index 8ce874aa..5a443070 100644 --- a/TipsShell.md +++ b/TipsShell.md @@ -540,6 +540,12 @@ $ cat ${DATE}*.html | grep --color '[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+' ## Processus / Process +### Pour un utilisateur + +~~~{.bash} +pgrep -u | xargs -r ps -F +~~~ + ### Surveiller les nouveaux processus créés #### Liste simple