PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /opt/sharedrads/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //opt/sharedrads/check_size |
#!/bin/bash ### calculate account size ### if [[ $1 != "" ]]; then acct=$1 echo "Quota check shows the following: `quota $acct | awk '{ print ($2*1024)/1048576 }' | grep -v -P '^0$'`" echo "Cpanel's Cache Data for $acct `cat /var/cpanel/repquota.cache|grep $acct |awk '{print $3/(1048576/1000)"M"}'`" echo "Database Information:" diff -y <(ls -d /var/lib/mysql/`echo -n $acct`_*/ | cut -d'/' -f5) <(du -h /var/lib/mysql/`echo -n $acct`_*/) else echo "Usage is: check_size accountname" fi