Update dsmon.sh

This commit is contained in:
2023-01-02 14:32:31 -06:00
parent b707ad401c
commit aff201c742

View File

@@ -80,7 +80,7 @@ RUN(){
}
CHECK(){
[ "${1}" != "report" ] && start=`date +%s`
start=`date +%s`
declare -A host_ip
declare -A host_name
@@ -235,12 +235,10 @@ CHECK(){
done
if [ "${1}" != "report" ]; then
end=`date +%s`
runtime=$((end-start))
echo
echo "runtime: ${runtime}"
fi
end=`date +%s`
runtime=$((end-start))
echo
echo "runtime: ${runtime}"
}
SETUPSSH(){