Update test.sh
This commit is contained in:
3
test.sh
3
test.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user