From 30d8e34a8faa9cf10f04f5e6b1ca4de3d0517c58 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 26 Jan 2024 14:31: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 27662fc..78a3ebc 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -341,7 +341,7 @@ RUNCMD(){ start=`date +%s` rm -f /tmp/.dsmon.runcmd.* echo -e "\n${idsCL[White]}The following command will be run on all nodes:" - echo -e "${idsST[Bold]}'${idsCL[LightCyan]}${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20}${idsCL[White]}'${idsCL[Default]}${idsST[Reset]}\n" + echo -e "${idsST[Bold]}'${idsCL[LightCyan]}$(echo "${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20}" | awk '{$1=$1};1')${idsCL[White]}'${idsCL[Default]}${idsST[Reset]}\n" ncount=0 while read hostid hostname hostip hostlimits; do if [ "${hostname}" != "host" ]; then