top en cron
This commit is contained in:
parent
9a7cfcf6bc
commit
cf817f28b5
|
@ -408,6 +408,14 @@ Se baser seulement par rapport aux utilisateurs ayant créés dernièrement ces
|
|||
$ SEUIL=100; watch -n 5 -d "ps -e -o etimes=,user | sort -n | awk '{if (\$1<$SEUIL) print \$2 }' | sort | uniq -c | sort -n"
|
||||
~~~
|
||||
|
||||
### Cron
|
||||
|
||||
Recevoir le output de la commande *top* en cron :
|
||||
|
||||
~~~{.bash}
|
||||
top -b -d 1
|
||||
~~~
|
||||
|
||||
## Lister avec le plus de fils (/fork)
|
||||
|
||||
~~~{.bash}
|
||||
|
|
Loading…
Reference in a new issue