Collection-Scripts/show_sizes.sh

10 lines
220 B
Bash
Executable File

# show_sizes.sh
#!/bin/bash
# Use your health check url
HEALTHCHECK_URL="https://healthchecks.io/ping/{uuid}"
curl --retry 3 "$HEALTHCHECK_URL" || exit 1
du -h -d 3 -L /mailcow* || exit 1
du -h -d 3 -L /root || exit 1