This commit is contained in:
Sebastian
2024-03-19 06:46:18 +01:00
parent 9d414b123b
commit 16a03cd9ea
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Threshold for disk usage percentage
threshold=10
threshold=90
# 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)

View File

@@ -1,3 +1,4 @@
#!/bin/bash
./check-disk-space.sh
./show-status.sh | grep -v "online"