Update dsmon.sh
This commit is contained in:
12
dsmon.sh
12
dsmon.sh
@@ -80,7 +80,7 @@ RUN(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
CHECK(){
|
CHECK(){
|
||||||
[ "${1}" != "report" ] && start=`date +%s`
|
start=`date +%s`
|
||||||
|
|
||||||
declare -A host_ip
|
declare -A host_ip
|
||||||
declare -A host_name
|
declare -A host_name
|
||||||
@@ -235,12 +235,10 @@ CHECK(){
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${1}" != "report" ]; then
|
end=`date +%s`
|
||||||
end=`date +%s`
|
runtime=$((end-start))
|
||||||
runtime=$((end-start))
|
echo
|
||||||
echo
|
echo "runtime: ${runtime}"
|
||||||
echo "runtime: ${runtime}"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SETUPSSH(){
|
SETUPSSH(){
|
||||||
|
|||||||
Reference in New Issue
Block a user