diff --git a/TipsShell.md b/TipsShell.md index 630ebc7e..7adeb34a 100644 --- a/TipsShell.md +++ b/TipsShell.md @@ -311,5 +311,5 @@ $ ps -e -o etimes=,pid,cmd | sort -rn | awk '{if ($1!=0 && $3!~/\[.*\]/) print Toutes les 5 secondes : ~~~{.bash} -$ watch -n 5 -d "ps -e -o etimes=,pid,cmd | sort -n | awk '{if (\$1==0 || \$2==$$ || \$3~/watch/ || \$3~/\[.*\]/) {} else print \$0 }'" +$ watch -n 5 -d "ps -e -o etimes=,pid,user,cmd | sort -n | awk '{if (\$1==0 || \$2==$$ || \$3~/watch/ || \$3~/\[.*\]/) {} else print \$0 }'" ~~~ \ No newline at end of file