I'm stumped. Searching reveals many threads that the WHM display of disk usage, for example in the Quota Modification section, is incorrect. (I kinow of no other place to view disk usage.)
For example, I've got one directory with about 950 megs of mp3 files. I know how much these are because I've measured their sizes. When I go to that mp3 account and do a du -chs it reports approximately 1.1 Gig usage. Close enough.
However, the WHM reports 3183 meg, about three times as much. Oddly, WHM does not report the user as begin over his quota of 1600 meg.
This user has no mysql files, and the account has never been used. It's just storage actually.
I have a backup drive, and in fact there are six copies of this account there. If WHM was adding those in, the total should read about 6.6 gigs.
In other words, the WHM readout seems to have no direct correlation with actual disk usage.
Which brings me to the question -- if the WHM cannot give you the disk usage, how in the world does anybody monitor and/or charge for disk usage?
I suppose I could write my own script to go to add up mysql then home dir, but surely somebody has already solved this problem.
Would somebody please share the solution here? I would be grateful.
For example, I've got one directory with about 950 megs of mp3 files. I know how much these are because I've measured their sizes. When I go to that mp3 account and do a du -chs it reports approximately 1.1 Gig usage. Close enough.
However, the WHM reports 3183 meg, about three times as much. Oddly, WHM does not report the user as begin over his quota of 1600 meg.
This user has no mysql files, and the account has never been used. It's just storage actually.
I have a backup drive, and in fact there are six copies of this account there. If WHM was adding those in, the total should read about 6.6 gigs.
In other words, the WHM readout seems to have no direct correlation with actual disk usage.
Which brings me to the question -- if the WHM cannot give you the disk usage, how in the world does anybody monitor and/or charge for disk usage?
I suppose I could write my own script to go to add up mysql then home dir, but surely somebody has already solved this problem.
Would somebody please share the solution here? I would be grateful.
Last edited: