Update nodemgmt-scripts.sh
This commit is contained in:
@@ -384,7 +384,7 @@ STATUS(){
|
||||
partitions3=(${partitions2})
|
||||
for partition in "${partitions3[@]}"; do
|
||||
if [ "${partition}" != "udev" ] && [ "${partition}" != "/dev/sda1" ]; then
|
||||
pname=`echo "${partition}" | awk -F'/' ' { print $NF } '`
|
||||
#pname=`echo "${partition}" | awk -F'/' ' { print $NF } '`
|
||||
freespace=`${NCMD} df -hPBM ${partition} | awk '{print $4}' |tail -1|sed 's/M$//g'`
|
||||
if [ "${freespace}" -le "1000" ]; then
|
||||
fs_status='error'
|
||||
|
||||
Reference in New Issue
Block a user