Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-12 23:30:08 -06:00
parent bbb56dee70
commit 76313f8bba

View File

@@ -379,7 +379,7 @@ STATUS(){
DIVIDER false green
fi
freespace=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do $(echo $output | awk '{ print $1}' | cut -d'%' -f1 ); done`
freespace=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do cho $output | awk '{ print $1}' | cut -d'%' -f1; done`
echo ${freespace[*]}