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