HEX
Server: Apache
System: Linux ecres233.servconfig.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64
User: gonnelllaw (9952)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/sharedrads/reclaim_suspensions
#!/bin/bash
pushd /var/cpanel/suspended >/dev/null
clear
echo
echo -e "USERNAME \t SUSPENSION DATE \t   ACCOUNT SIZE \t     REASON "
echo "--------------------------------------------------------------------------------------------------------------"
for i in * ; do
    echo -en "$i \t suspended @ `ls -la $i | awk '{print $6,$7}'` \t"
    echo -n ' '
    echo -n "   size: ` du -sh /home/$i | awk '{print $1}'` "
    echo  -ne "\t `cat $i` "
    echo
done
popd >/dev/null
echo