My Simple Space

Description

Display the total size space usage as well:

  • wp-content total size
  • wp-content/plugins size
  • wp-content/themes size
  • wp-content/uploads size
  • database size
  • Total available memory / used memory
  • PHP Version and OS (32/64 bit)

Installation

Simply download, install and activate. Then a widget with information will be added to your dashboard and memory information in the footer of every admin page.

e.g.

  1. Upload my-simple-space to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ-e

How is diskspace calculated?

The plugin cycles through the provided path to calculate the total space used for that particular path. The wp-content size includes the plugins, themes and upload folders, but also other folders under wp-content.

Reviews

09 March 2024
This plugin gives everything you need: Not the server Memory usage but the actual WordPress website’s memory usage, Database Size, Site files’ total size — among the important WP folders of importance — all size-wise. Very well thought-out plugin. I am installing this on all my WP stacks, because the actual stats matters and we needs to keep eagle’s eyes on those stats always if we are a true professional. Without knowing the stats its like your monitor screen is off and you are not up-to-date on whats going on – that’s terrible! Thanks for this awesome plugin. God bless tons.
06 February 2019
This plugin works well. I would like more details, but as a guide it works well. Did I say it works well? It works well.
30 August 2018
What a great little plugin!
23 June 2018
Wanted to like this but… …it made my site’s admin pages almost inaccessible. I disabled all my plugins in an effort to isolate the problem and this ended up being the culprit. I guess this plugin digs deep into your server and causes problems as a result.
01 April 2018
This plugin works very well, and give me information about disk space in my VPS server, without have to make login in server’s panel every single time. Really great plugin.
04 January 2017
I am looking for simple plugin to display disk space used by WordPress and THIS IS PERFECT! Simple and clear. No setting. Widget on dashboard. Love it!
Read all 10 reviews

Contributors & Developers

“My Simple Space” is open source software. The following people have contributed to this plugin.

Contributors

Translate “My Simple Space” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.9

  • Corrected error in reverted \FilesystemIterator::FOLLOW_SYMLINKS. Switched to \FilesystemIterator::SKIP_DOTS, as following symlinks causes errors on some hosting platforms.

1.2.8

  • Adds wp-content if outside ABSPATH, which was added in 1.2.7, to the Entire Site calculation, as WP_CONTENT_DIR is configurable.

1.2.7

  • Updated code to use WP_CONTENT_DIR and WP_PLUGIN_DIR, as these can be changed by the site owner, to get correct paths.
  • Reverted \FilesystemIterator::FOLLOW_SYMLINKS back to \FilesystemIterator::CURRENT_AS_FILEINFO on line 227, as it does not fix anything.
  • Stripped code to ensure trailing slash on path for mss_dir_size function as its unnecessary

1.2.6

  • Reverted \FilesystemIterator::CURRENT_AS_FILEINFO back to \FilesystemIterator::FOLLOW_SYMLINKS on line 227 to attempt correcting a bug from 1.2.5.
  • Added code to ensure trailing slash on path for mss_dir_size function

1.2.5

  • Adjusted \FilesystemIterator::FOLLOW_SYMLINKS on line 227 to \FilesystemIterator::CURRENT_AS_FILEINFO, as it returned the same folder size for wp-content, themes & uploads.
  • Stripping the 2 path variable lines on 220 & 221 (reverting change made in 1.2.4)

1.2.4

  • Fixed issue in the mss_dir_size function which caused a fatal exception when it tries to access a file path, instead of a folder path. Thanks @idempotent for pointing this out.
  • Added \FilesystemIterator::FOLLOW_SYMLINKS to the inner RecursiveDirectoryIterator inside the mss_dir_size, which hopefully speeds up the calculation.

1.2.3

  • Slight code cleanup.

1.2.2

  • Ensure widget is only ever run on the dashboard page.

1.2.1

  • Cast both $memory_usage and $memory_limit to int, before rounding on line 127 in my-simple-space.php to fix debugging error.

1.2.0

  • Removed a few extra strange characters.

1.1.9

  • Cleared transient creation bug. Transient is now set prior to returning value. Transient was not being created.
  • Replaced custom size calculation function with WP’s builtin size_format function. Reduces code size.

1.1.8

  • Replaced folder calculation function, should increase speed

1.1.7

  • Corrected badly named functions
  • Applied speed boost, using transients earlier in output

1.1.6

  • Corrected what broke the plugin in 1.1.5

1.1.5

  • Updated to only run in the admin area, to increase frontend performance

1.1.4

  • Updated to show compatible with WP 4.6

1.1.3

  • Transitioned prior cache effort to using transients instead. Prior caching efforts did not work. Items are now cached for 60 minutes.

1.1.2

  • Corrected error caused by adding in cache setup.

1.1.1

  • Folder sizes are now cached for 60 minutes, to reduce overhead.

1.1.0

  • Added check to exclude folders not readable. Hides errors.

1.0.9

  • Made plugin more translatable.

1.0.8

  • Updated to show works with 4.4.1
  • Updated admin footer to use in_admin_footer() instead of rebuilding footer with admin_footer_text().

1.0.7

  • Fix for sites that return the home_path as /. Gets the absolute path using ABSPATH instead.

1.0.6

  • 1.0.5 update killed data for sites not using WordPress in a subfolder. This is now fixed.

1.0.5

  • Corrected double folder for sites using WordPress in a subfolder.

1.0.4

  • Found issue with closing columns on the widget. This was an HTML code issue, not closing the div tag, which caused other widgets below to be absorbed into the same widget box.

1.0.3

  • General housekeeping to clean up plugin files, including plugin information.
  • Moved some of items around and added in wp-admin and wp-includes.

1.0.2

  • Removed hard coded paths and replaced with dynamic paths.

1.0.1

  • Rewrote database calculation to make use of $wpdb, rather than mysql calls, which broke in some instances.

1.0.0

  • Initial Release