Below is a ready-to-use script. Review and adapt variables to your environment.
#!/usr/bin/env bash df -hT | awk 'NR==1 || $2!~/tmpfs|overlay/ {print}' du -xh --max-depth=1 / | sort -h | tail -n 20
← Back to SQL