Update test.sh

This commit is contained in:
2019-02-07 22:07:00 -06:00
parent 0f1e0ffa19
commit 6fd08307dd

View File

@@ -27,7 +27,8 @@ CHECK_HOST(){
} }
errtime=$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) errtime=$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down)
timediff=`date +%s`-$errtime ctime=`date +%s`
timediff=$(date +%s)-$errtime
echo $errtime echo $errtime
echo `date +%s` echo `date +%s`
echo $timediff echo $timediff