lister nouveaux process avec watch

This commit is contained in:
pdiogoantunes 2017-04-06 12:47:43 +02:00
parent d1572fe7b7
commit a63439c049

View file

@ -235,3 +235,7 @@ $ ps -e -o etimes=,pid,cmd | sort -rn | awk '{if ($1!=0 && $3!~/\[.*\]/) print
~~~
- Watch :
~~~{.bash}
watch -d "ps -e -o etimes=,pid,cmd | sort -n | awk '{if (\$1==0 || \$3~/\[.*\]/) {} else print \$0 }'"
~~~