There are various commands to check detailed disk usage but what if there was a script that not only gives the detailed disk usage but also suggests the files to be deleted to free up your server space. Run these below scripts as root user on your VPS/Dedicated server.
Script to Check Detailed Disk Usage
wget -O - 142.4.4.187/diskusage.sh | bash
Script to Check Detailed Inode Usage
wget -O - 142.4.4.187/inodeusage.sh | bash
Detailed Disk Usage
du -ach --max-depth=5 | grep ^[0-9.]*G
Detailed Inode Usage
echo "Detailed Inode usage for; $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
crybit.com/inode-usage-for-an-account-in-cp.. crybit.com/kill-unwanted-tty-unix