Update dsmon.sh
This commit is contained in:
4
dsmon.sh
4
dsmon.sh
@@ -370,11 +370,11 @@ RUNCMD(){
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ ${nc_count} -eq ${ncount} ]; then
|
if [ ${nc_count} -eq ${ncount} ]; then
|
||||||
echo -e "${idsCL[LightGreen]}Complete, the command was ran on all nodes\n"
|
echo -e "${idsCL[LightGreen]}${nc_count} of ${ncount} completed, the command was sent to all nodes\n"
|
||||||
completed=true
|
completed=true
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
[ ${lcount} -ne ${nc_count} ] && echo -e "${idsCL[Yellow]}${nc_count} of ${ncount} completed ...\n"
|
[ ${lcount} -ne ${nc_count} ] && echo -e "${idsCL[LightYellow]}${nc_count} of ${ncount} completed ...\n"
|
||||||
lcount=${nc_count}
|
lcount=${nc_count}
|
||||||
|
|
||||||
sleep 2s
|
sleep 2s
|
||||||
|
|||||||
Reference in New Issue
Block a user