1) How does cpanel get the disk and bw usage when displaying the quota to the user when they login to their cpanel? Is this done dynamically, or is it pulling from a file somewhere?
2) How does WHM get the disk and bw usage when listing stats for a reseller under the "Reseller Center-->Show Reseller Stats" area?
Surely there must be a file somewhere with all this information.