This commit is contained in:
Sebastian
2024-03-19 06:31:27 +01:00
parent 48c1360554
commit dab6283658

View File

@@ -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