Wrong Disk Space Calculation!
Wrong Disk Space Calculation!
I have on my KH several users, each one holding a single site.
On the main dashboard page KH tells me that my sites use about 45gb! (Probably a backup plugin going rougue) (Attaching screenshot #1)
But when looking to find which user is the culprit i find that the disk space calculations are bad as it shows really low disk usage for each user (Attaching screenshot #2)
Another question:
In the specific user (site) KH, is there a way to find disk space usage by folder ? - it will really help me see where the disk is going...
Re: Wrong Disk Space Calculation!
What you can do:
Shell solution
Install NCDU
Code: Select all
apt-get install ncdu
Code: Select all
cd /
Code: Select all
ncdu
If you really want to do it every day (or several times a week) OlliTheDarkness or I could take a look into it, maybe there is an easy way to implement this into the custom theme
EDIT
Including this into a custom theme might be "useless" as you still have to figure out which folder inside the (lets take my screenshot) folder "usr" is the largest one
EDIT 2
just figured out: if run the command
Code: Select all
ncdu

Re: Wrong Disk Space Calculation!
You can me a very good alternative.
When I used cPanel, I had this option in the dashboard and I still think it is an important one, to stay on the dashboard and find the exact folder which uses too much disk space.
IMHO, it should even be included in the regular dashboard and not just in the custom theme.
But for now I can use your solution which I like

Thank you again,
Chaiavi