sharris203
Member
Posted 2 years ago #
Hi guys, do you know of any plugin or other method to show the disk space of the cPanel account where wordpress is installed?
I found this plugin, but it only shows the stats of the entire server, not stats for the individual account where wordpress is installed. http://www.webhostingsearch.com/articles/cool-plugin-giving-you-system-information.php
sharris203
Member
Posted 2 years ago #
sharris203
Member
Posted 2 years ago #
That's a good plugin, but I can't quite use it for the purpose I'm trying to do. Also, I couldn't find disk space listed anywhere.
sharris203
Member
Posted 1 year ago #
http://www.google.com/search?q=cpanel+how+does+cpanel+calculate+disk+space+available
If all else fails, please ask your host or visit the company that makes cPanel and ask on there forums if there is a command you could use to find that info.
sharris203
Member
Posted 1 year ago #
Ok if i understand correctly, I'd would just need php code that runs the disc space calculation command (of a specific folder on the server) and returns the result? i found this:
<?
system("du -sh /path/to/dir");
?>
Maybe. But doesn't cPanel allow hosts to allocate diskspace (or quota) to a customer?
sharris203
Member
Posted 1 year ago #
I allocate disc space to my clients, but I only allow them to access WordPress (they don't know what a cPanel is) and the only feature missing is the ability to let them know how much disc space they have remaining.
Well again I'd check with the cPanel company to find out what 'variable' to use for the amount of space allocated and used by an account.
Note that the Multisite ability of WordPress has a diskspace allocation and used display in the dashbaord for users.