fix
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
# Threshold for disk usage percentage
|
# Threshold for disk usage percentage
|
||||||
threshold=90
|
threshold=90
|
||||||
|
|
||||||
# Get the list of mounted filesystems and their usage
|
# Get the list of mounted filesystems and their usage, excluding pseudo, duplicate, inaccessible file systems, and tmpfs
|
||||||
filesystems=$(df -h --output=target,pcent | tail -n +2)
|
filesystems=$(df -h -x tmpfs --output=target,pcent | tail -n +2)
|
||||||
|
|
||||||
# Iterate over each line of the output
|
# Iterate over each line of the output
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
|
|||||||
Reference in New Issue
Block a user