Web Hosting Talk







View Full Version : Reseller script for WHM


Alan - Vox
09-23-2001, 05:55 PM
Hi,

I have wrote a script that calculates the total amount of bandwidth a reseller is using on a whm/cpanel server.

Does anyone know where the files are that store the amount of disk space a user is using so i can incorporate that in as well?

MCHost-Marc
09-23-2001, 06:40 PM
/etc/quota.conf :D

Alan - Vox
09-23-2001, 06:50 PM
That doesnt show how much space they are actually using unfortunately.

MCHost-Marc
09-23-2001, 06:52 PM
Ooops, you're right. Let me find it. ;)

Matt Lightner
09-23-2001, 10:24 PM
Try typing "quota username" to get a user's quota info.

Matt

Jedito
09-23-2001, 10:44 PM
Try du -s /home/username