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