High space utilization on a server can cause performance degradation, system instability, and service disruptions. This playbook assists in identifying the sources of disk space consumption and provides strategies for swift recovery.
df -kh,
df -h | awk '$5+0 >= 90 {print $6}' | xargs -I {} sh -c 'echo \"Usage in {}:\" && du -sh {}/* | grep G'
df -h | awk '$5+0 >= 90 {print $6}' | xargs -I {} sh -c 'echo \"Usage in {}:\" && du -sh {}/* | grep T'