show me
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Threshold for disk usage percentage
|
# 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
|
# 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)
|
filesystems=$(df -h -x tmpfs --output=target,pcent | tail -n +2)
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
./check-disk-space.sh
|
||||||
./show-status.sh | grep -v "online"
|
./show-status.sh | grep -v "online"
|
||||||
|
|||||||
Reference in New Issue
Block a user