Update dsmon.sh
This commit is contained in:
3
dsmon.sh
3
dsmon.sh
@@ -113,7 +113,8 @@ CHECK(){
|
||||
if [ "${checkhost}" != "false" ]; then
|
||||
|
||||
#echo ${host_limits[${hostid}]}
|
||||
for x in "${!host_limits[${hostid}][@]}"; do printf "[%s]=%s\n" "$x" "${host_limits[${hostid}][$x]}" ; done
|
||||
hostlimits=(${host_limits[${hostid}]})
|
||||
for x in "${!hostlimits[@]}"; do printf "[%s]=%s\n" "$x" "${hostlimits[$x]}" ; done
|
||||
|
||||
# DRIVEINFO=$(ssh root@${host_ip[$hostid]} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|media-data|Software' | awk '{ print $1 " " $2 " " $4 }')
|
||||
# DRIVEINFO=(${DRIVEINFO})
|
||||
|
||||
Reference in New Issue
Block a user