Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -359,7 +359,7 @@ RUNCMD(){
|
|||||||
|
|
||||||
|
|
||||||
while read hostid hostname hostip hostlimits; do
|
while read hostid hostname hostip hostlimits; do
|
||||||
if [ "${hostip}" != "10.10.10.60" ] && [ "${hostname}" != "host" ]; then
|
if [[ "${hostip}" != *"10.10.10.60"* ]] && [ "${hostname}" != "host" ]; then
|
||||||
echo ${hostip}
|
echo ${hostip}
|
||||||
RUNCMD_SUB $(echo ${hostip} | cut -d ";" -f1) ${hostname} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} &
|
RUNCMD_SUB $(echo ${hostip} | cut -d ";" -f1) ${hostname} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} &
|
||||||
((ncount++))
|
((ncount++))
|
||||||
|
|||||||
Reference in New Issue
Block a user