From 5924dc50918b684870d0fb9f4c70302b8f2dc4a3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 6 Jan 2024 23:50:42 -0600 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index ae767db..507eef0 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -136,7 +136,7 @@ CHECK(){ echo -en "${idsCL[LightCyan]}${MSG}${spc}: " #for hostid in "${!host_ip[@]}"; do for hostname in "${hostnames_sort[@]}"; do - until [ $(ls /tmp/dscheck.*.running 2>/dev/null | wc -l) -lt 2 ]; do tmp=tmp; done + 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 & done echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}"