Update dsmon.sh
This commit is contained in:
6
dsmon.sh
6
dsmon.sh
@@ -111,9 +111,11 @@ CHECK(){
|
||||
|
||||
checkhost=$(CHECK_HOST ${host_ip[$hostid]})
|
||||
if [ "${checkhost}" != "false" ]; then
|
||||
for hl in (${host_limits[${hostid}]}); do
|
||||
echo $hl
|
||||
done
|
||||
|
||||
|
||||
#echo ${host_limits[${hostid}]}
|
||||
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 }')
|
||||
|
||||
Reference in New Issue
Block a user