Update dsmon.sh

This commit is contained in:
2023-01-02 11:06:38 -06:00
parent bad0123c67
commit 73e085f9d3

View File

@@ -112,7 +112,8 @@ CHECK(){
checkhost=$(CHECK_HOST ${host_ip[$hostid]})
if [ "${checkhost}" != "false" ]; then
echo ${host_limits[${hostid}]}
#echo ${host_limits[${hostid}]}
for x in "${!host_limits[${hostid}][@]}"; do printf "[%s]=%s\n" "$x" "${host_limits[${hostid}][$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})