No description
Find a file
2026-06-09 15:14:35 +03:00
.gitignore Initial release: remote df over SSH. 2026-06-09 15:14:35 +03:00
check-remote-disk-usage.sh Initial release: remote df over SSH. 2026-06-09 15:14:35 +03:00
LICENSE Initial release: remote df over SSH. 2026-06-09 15:14:35 +03:00
README.md Initial release: remote df over SSH. 2026-06-09 15:14:35 +03:00

check-remote-disk-usage

Run df on one or more remote hosts over SSH.

Problem

Disk pressure on servers is easier to spot when the same paths are checked across many hosts with identical formatting. This script loops hosts and runs df -h on paths you specify.

Requirements

  • bash
  • ssh access to each target host (keys or agent configured outside this script)

Usage

./check-remote-disk-usage.sh -p /,/opt/data host-a host-b

-p is required. Separate multiple paths with commas (no spaces).

Limits

  • Runs df -h only; no alerting or thresholds.
  • Uses your local ssh configuration for authentication.
  • No parallel execution; hosts are queried sequentially.

License

MIT — see LICENSE.