Update nodemgmt-scripts.sh
This commit is contained in:
@@ -554,7 +554,7 @@ STATUS(){
|
|||||||
DIVIDER false green
|
DIVIDER false green
|
||||||
fi
|
fi
|
||||||
declare -A partitions
|
declare -A partitions
|
||||||
partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;`
|
partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;`
|
||||||
partitions2=`echo ${partitions[*]}`
|
partitions2=`echo ${partitions[*]}`
|
||||||
partitions3=(${partitions2})
|
partitions3=(${partitions2})
|
||||||
for partition in "${partitions3[@]}"; do
|
for partition in "${partitions3[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user