do not log this message
This commit is contained in:
parent
0285a14e02
commit
ce8c0f2bd7
@ -10,7 +10,7 @@ load=$(awk '{print int($1)}' < /proc/loadavg)
|
|||||||
# echo " load is $load" | tee -a WS/log
|
# echo " load is $load" | tee -a WS/log
|
||||||
if [ $load -gt 10 ] ; then
|
if [ $load -gt 10 ] ; then
|
||||||
attente=$(( $temps + ($RANDOM % 90) ))
|
attente=$(( $temps + ($RANDOM % 90) ))
|
||||||
echo "ralentir $0 $SEQNAME $attente" | tee -a WS/log
|
echo "ralentir $0 $SEQNAME $attente" # | tee -a WS/log
|
||||||
sleep $attente
|
sleep $attente
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user