Update dsmon.sh
This commit is contained in:
1 parent
f792620a5b
commit
124b857edf
1 file changed
+3
-1
@@ -134,7 +134,9 @@ CHECK(){
|
||||
#for hostid in "${!host_ip[@]}"; do
|
||||
for hostname in "${hostnames_sort[@]}"; do
|
||||
until [ $(ls /tmp/dscheck.*.running 2>/dev/null | wc -l) -lt 6 ]; do tmp=tmp; done
|
||||
RUN_CHECK ${hostname} > /tmp/dscheck.${hostname}.results 2>/dev/null &
|
||||
# RUN_CHECK ${hostname} > /tmp/dscheck.${hostname}.results 2>/dev/null &
|
||||
touch /tmp/dscheck.${hostname}.done
|
||||
|
||||
done
|
||||
[ "${1}" != "report" ] && echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user