This Plugin is a frontend for the Unix du command. It is just as simple as it can be. No configuration, no options. Version 2.0 features a treemap for files bigger than 100k. Thanks neurofuzzy for the php-treemap source code.
Demo: see below
Languages: english, deutsch(german)
Download: Disk Usage
Version: 2.0
Usage:
- download, unzip and upload to your WordPress plugins directory
- activate the plugin in you WordPress administration backend and go to “Manage” > “Disk Usage”
The output of Disk Usage looks like this:

Your WordPress installation uses 53.6 MB of disk space.
Your WordPress installation contains 3 directories:
912 KB wp-admin
48.7 MB wp-content
3.7 MB wp-includes
The directory containing the biggest files and largest subdirectories is wp-content
48.7 MB wp-content
23.5 MB wp-content/plugins
19.8 MB wp-content/backup
11.7 MB wp-content/backup/2007-08-20-18-14-45-full.tar.gz
6.8 MB wp-content/plugins/bot-tracker
6.6 MB wp-content/plugins/bot-tracker/crawltrack
6.3 MB wp-content/plugins/wp-phpmyadmin
6.3 MB wp-content/plugins/wp-phpmyadmin/phpmyadmin
5.1 MB wp-content/uploads/2007/08
5.1 MB wp-content/uploads/2007
5.1 MB wp-content/uploads


September 8th, 2007 at 10:36 pm
I keep getting this at the top of the usage chart:
Warning: is_dir() [function.is-dir]: Stat failed for […]wp-content/gravatars/global/delete-or-ignore-me.txt (errno=13 - Permission denied) in […]wp-content/plugins/disk-usage/disk-usage.php on line 62
Warning: filesize() [function.filesize]: Stat failed for […]wp-content/gravatars/global/delete-or-ignore-me.txt (errno=13 - Permission denied) in […]wp-content/plugins/disk-usage/disk-usage.php on line 65
September 8th, 2007 at 11:04 pm
@Tom,
Your web server does not have permissions to read the file wp-content/gravatars/global/delete-or-ignore-me.txt. So why not delete it, just as it says?
Anyway, thanks for the feedback! I’ll see if i can implement a check to handle that error smarter.
November 27th, 2007 at 7:44 pm
Hello.
I’m using some of your plugins and they are great!
But I run into a odd stuff with Disk Usage.
On a test WP, I’ve installed Disk Usage and when I call it, the display content is mixed with another plugin, WP-o-matic.
You can see a screencap here:
http://img2.freeimagehosting.net/image.php?167e719956.jpg
Thanks for all this cool plugins!
December 29th, 2007 at 2:16 pm
Great plugin really like it, but one suggestion might be to include a feature that let’s you specify the directory (e.g. my wordpress is located at http://sucs.org/~tobeon/wordpress but I would quite like the plugin to check the whole size of http://sucs.org/~tobeon)
January 3rd, 2008 at 4:59 pm
Tobeon, thanks for your feedback! I’ll have the path for the disk usage calculation as an option for the next version of the plugin.