OK. Forgive me for saying this but - cPanel/WHM disk usage reporting st*nks. It’s inaccurate, MySQL usage is separated from Quota usage and if you aren’t running phpSuexec - then your clients can have "unlimited" disk space.
I’ve wrote a little script to see the actual disk usage per user (the results were quite interesting - for example - one user ordered account with 500MB disk space and he was actually using ~1,5 GB (WHM displayed only 320MB):

I was wondering - could someone create a patch to cPanel/WHM, or at least x (x2) theme, to show actual disk usage (not quota usage)? OR - how can I display results (generated by previously mentioned script) on WHM and cPanel?
Sorry for my English
I’ve wrote a little script to see the actual disk usage per user (the results were quite interesting - for example - one user ordered account with 500MB disk space and he was actually using ~1,5 GB (WHM displayed only 320MB):
Don’t laugh - I’m not a programmer#!/bin/bash
cd /var/cpanel/users
for user in *
do
touch /var/lib/mysql/$user.0034ax
array=(`du -sch /home/$user /var/lib/mysql/$user* `)
len=${#array[*]}
echo "$user : ${array[$len-2]}"
done
I was wondering - could someone create a patch to cPanel/WHM, or at least x (x2) theme, to show actual disk usage (not quota usage)? OR - how can I display results (generated by previously mentioned script) on WHM and cPanel?
Sorry for my English