Disk Space Alert Shell Script (df Threshold, Email, Cron)
Alert when Linux disk usage crosses a threshold: parse df -P, email warning with df output, per-mount limits,…
Read tutorial →Browse step-by-step tutorials in this topic.
Alert when Linux disk usage crosses a threshold: parse df -P, email warning with df output, per-mount limits,…
Read tutorial →
Use watch on Linux to rerun commands on an interval: watch -n 2 df -h, highlight changes with…
Read tutorial →
Find what's using disk on Linux: du -xh --max-depth=1, find -size +1G, sort largest files, clean logs and…
Read tutorial →
Fix Linux no space left on device: df -h and df -i, du under /var, journalctl vacuum, large…
Read tutorial →