=== WP Server Stats === Contributors: isaumya Author URI: https://www.isaumya.com Plugin URI: https://www.isaumya.com/portfolio-item/wp-server-stats/ Donate link: http://donate.isaumya.com/ Tags: dashboard, widget, server, stats, information, admin, isaumya Requires at least: 4.1 Tested up to: 4.6.1 Stable Tag: 1.3.2 License: GNU Version 2 or Any Later Version Monitor your WordPress site the right way with most important server stats like memory usage, CPU load, uptime & more. == Description == WP Server Stats plugin will give you the ability to monitor your WordPress site at it's core level. With all most important server stats like allocated memory, realtime memory & CPU usage etc. you can always identify if something wrong is going on with your site. Also now you don't have to contact your host every single time for minor things. You can easy see the server stats at your WP admin dashboard and take curtail decision based on that, like if enabling some plugin is consuming a lot of memory or CPU etc. Features of the plugin include: * Shows the server IP address * Shows server loacation * Shows server hostname * Shows allowed memory for your WordPress site * Realtime Amount & Percentage of the memory usage * Realtime CPU usage percentage * Realtime Memory & CPU info bar changes color based on the load * Designed with flat colors * Realtime Memory & CPU usage info at the admin footer so that no matter what admin page you are, you can always see it * Uses WordPress Object Caching mechanism to run the plugin super smooth without eating a lot of resource * Only shows to the Administrators * Admin settings page from where you can easily mane the realtime script refresh interval time and also the color scheme of the plugin **(New from v1.3.1)** **READ BEFORE INSTALLING** This plugin uses PHP `shell_exec()` function which is by default enabled by all good hosting companies. But a small percentage of hosting company disable `shell_exec()` by default. So, please contact your hosting company to make sure `shell_exec()` is enabled in your account before installing this plugin. Otherwise you will get an ERROR Code `EXEC096T` for every feature that uses `shell_exec()`. > **Now this plugin is also hosted in [Github](https://github.com/isaumya/wp-server-stats). But the Github repo will be used for the development of the plugin. So, from now on you can also report the bugs in [Github Issue Tracker](https://github.com/isaumya/wp-server-stats/issues) if you want.** **Very Important Note** This plugin has been developed and tested for Linux based server only so there is a very high chance that it might NOT work for Windows based servers. So I highly recommend this plugin to be used by those users who uses a Linux based server. I currently has no plan to add Windows Server support as a very tiny amount of people still use Windows Server in this Linux age. I may add Windows support in future. **ERROR Code List** **EXEC096T** - PHP `shell_exec()` function has not been enabled in your account, which this plugin highly needs to run properly. So contact your server host and ask them to enable PHP `shell_exec()` function for your account. **IP096T** - Your server is not returning the IP properly. There is definately some issue with your server configuration. Please contact your host and tell then that PHP `gethostbyname( gethostname() )` is unable to get the server IP, ask them to look into thier server configuration and to fix the configuration issue. If you have a self hosted VPS or dedicated server, the reason is still the same. If you are unable to find the configuartion issue inside your server, I highly suggest you to hire a knowledgable server admin to look into your server. In most cases you should never get this error message. **Languages** WP Server Stats is 100% compatible with translation and you can translate any text to whatever language you want. As this plugin doesn't comes with an in-built translation, I will suggest you to use plugin like [Say What?](https://wordpress.org/plugins/say-what/) to change the texts, you just have to use the text domain as `wp-server-stats` within the plugin to change the texts. **Very Special Thanks** The list of people whom I wanna specially thanks without whom this plugin would have never been completed. * Justin Catello from [BigScoots Hosting](https://www.isaumya.com/refer/bigscoots) - Looking for quality managed SSD hosting? Go with [BigScoot Hosting](http://www.bigscoots.com/portal/?affid=261) keeping your eye closed. They are that much good. * [Pippin Williamson](https://twitter.com/pippinsplugins) from [Easy Digital Download](https://easydigitaldownloads.com/) * [Justin Kimbrell](https://twitter.com/justin_kimbrell) for [FlipClock.js](http://flipclockjs.com/) * Alex Rabe * Vlad from [ip-api.com](http://ip-api.com/) **Support the Plugin** If you like this plugin please don't forget to write a review and if possible please [Donate some amount](http://donate.isaumya.com/) to keep the plugin and it's development alive. == Screenshots == 1. Dashboard - for people who have PHP `shell_exec()` function enabled & executable on their server 2. Dashboard - for people who does NOT have PHP `shell_exec()` function enabled or executable on their server 3. Admin settings page to change various aspect of the plugin (since v1.3.1) == Installation == 1. Go to Plugins > Add New 2. Search for WP Server Stats and Install it 3. Go to your admin dashboard and you will see the dashboard widget over there. 4. To change the settings of the WP Server Stats plugin, head over to **Settings** > **WP Server Stats** menu in you WordPress's left vertical menu == Frequently Asked Questions == = Do I need any special configuration in my server/hosting account? = No. This plugin uses PHP `shell_exec()` function which is by default enabled by all good hosting companies. But a small percentage of hosting company disable `shell_exec()` by default. So, please conatct your hosting company to make sure `shell_exec()` is enabled in your account before installing this plugin. Otherwise you will get an ERROR Code `EXEC096T` for every feature that uses `shell_exec()`. = What are the different ERROR Codes thrown by this plugin? = **ERROR Code List** **EXEC096T** - PHP `shell_exec()` function has not been enabled in your account, which this plugin highly needs to run properly. So contact your server host and ask them to enable PHP `shell_exec()` function for your account. **IP096T** - Your server is not returning the IP properly. There is definately some issue with your server configuration. Please contact your host and tell then that PHP `gethostbyname( gethostname() )` is unable to get the server IP, ask them to look into thier server configuration and to fix the configuration issue. If you have a self hosted VPS or dedicated server, the reason is still the same. If you are unable to find the configuartion issue inside your server, I highly suggest you to hire a knowledgable server admin to look into your server. In most cases you should never get this error message. == Changelog == = 1.3.2, October 9, 2016 = * Minor bug fix = 1.3.1, October 8, 2016 = * Major release with a bunch of code improvement * Now the plugin has it's own admin settings menu found inside Settings > WP Server Stats, from where users can easily tweak the various aspect of the plugin * Support WordPress's native colorpicker inside WP Admin Menu * Option to change script refresh interval along with various color options * Most major release since the first release of the plugin * This plugin is now added in [Github Repo](https://github.com/isaumya/wp-server-stats) for more streamlined development = 1.2.1, June 24, 2016 = * Major bug fix with the new shell ececution logic improvement = 1.2.0, June 24, 2016 = * Major bug fix with the new shell ececution logic improvement = 1.1.9, June 24, 2016 = * Code quality improvement * Shell ececution logic improvement * New clean notice for people who doesn't have `shell_exec()` enabled/ececutable on their server * Various minor bug fix * New screenshot added for non `shel_exec()` enabled people = 1.1.8, June 23, 2016 = * Code quality improvement * Fixed Bug: The Real Time CPU Load bar & Uptime clock is showing even if PHP `shell_exec()` isn't enabled. Now it just shows `ERROR EXEC096T` - which means PHP `shell_exec()` isn't enabled to execute that feature * Fixed Bug: Real Time Memory Usage stuck at 0% if PHP `shell_exec()` is diabled. * Few other minor bug fix = 1.1.7, June 22, 2016 = * Major Update Pushed * Memory usage information is now shows realtime memory usage and memory usage percentage * Total allocated PHP memory now shows upto PB (Petabyte) * Code cleanup, optimization & minor bug fix = 1.1.5, May 16, 2016 = * Instead of showing LOC096T Error Code, now the plugin will show a proper detailed message in case there is any problem fetching the location details. = 1.1.4, January 23, 2016 = * Fixed a minor PHP Bug = 1.1.2 & 1.1.3, January 3, 2016 = * Bug Fix with FlipClock.js * Minor bug fix = 1.1.1, December 31, 2015 = * Unnecessary console log removed = 1.1.0, December 31, 2015 = * FlickClick Responsiveness issue fixed cross-browser * Some PHP notices has been resolved * Minor Bug Fix = 1.0.6, December 05, 2015 = * Fixed Firefox CSS issue with FlipClock. Props to [@ArtProjectGroup](https://profiles.wordpress.org/artprojectgroup/) = 1.0.5, October 28, 2015 = * Fixed a minor bug with calling hook = 1.0.4, October 27, 2015 = * Updated readme file = 1.0.3, October 27, 2015 = * Updated readme file = 1.0.2, October 27, 2015 = * Updated readme file = 1.0.1, October 27, 2015 = * Some minor bug fix = 1.0.0, October 27, 2015 = * First offical release!