Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -343,6 +343,8 @@ RUNCMD(){
|
|||||||
declare -A host_ip
|
declare -A host_ip
|
||||||
declare -A host_name
|
declare -A host_name
|
||||||
|
|
||||||
|
rm -f /tmp/.dsmon.runcmd.*
|
||||||
|
|
||||||
while read hostid hostname hostip hostlimits; do
|
while read hostid hostname hostip hostlimits; do
|
||||||
if [ "${hostname}" != "host" ]; then
|
if [ "${hostname}" != "host" ]; then
|
||||||
host_ip[${hostid}]=$(echo ${hostip} | cut -d ";" -f1)
|
host_ip[${hostid}]=$(echo ${hostip} | cut -d ";" -f1)
|
||||||
|
|||||||
Reference in New Issue
Block a user