This script keeps watch over your disk space so you never get caught by a full partition. It runs df -P for clean, single-line POSIX output, then loops over each filesystem and extracts the "Use%" column, stripping the trailing percent sign so it can be compared numerically. Pseudo and network filesystems such as tmpfs, overlay, and squashfs are filtered out because their usage figures are meaningless for capacity planning. Any filesystem above the THRESHOLD (85% by default) is appended to an alert body together with its mount point and used/total figures. If the body is non-empty, the script pipes a formatted message to the mail command and sends it to ALERT_EMAIL. All key values are overridable through environment variables, making it easy to reuse across hosts. Schedule it from cron every fifteen minutes for continuous, low-cost monitoring without external tooling.