From e4de8e3232186fbb6f43031604f0268c8a1d4d7a Mon Sep 17 00:00:00 2001 From: pdiogoantunes Date: Thu, 23 Feb 2017 17:32:26 +0100 Subject: [PATCH] Zombie --- TipsPs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TipsPs.md b/TipsPs.md index 5bb777a2..2b431cd8 100644 --- a/TipsPs.md +++ b/TipsPs.md @@ -2,4 +2,10 @@ ~~~{.bash} $ ps -f -p xxx -eo uid | tail -n1 | xargs id +~~~ + +# Lister tout les process en State=Z (Zombie) + +~~~{.bash} +$ ps aux | awk '$8=="Z"' | awk '{ print $2 }' ~~~ \ No newline at end of file