File manager - Edit - /home/aussies6/public_html/wp-content/plugins/server-status-littlebizzy/readme.txt
Back
=== Server Status === Contributors: littlebizzy Donate link: Tags: server, memory, CPU, load, RAM, database, disk space, PHP, info, stats Requires at least: 4.4 Tested up to: 4.7 Stable tag: 1.2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Useful statistics about the server OS, CPU, RAM, load average, memory usage, IP address, hostname, timezone, disk space, PHP, MySQL, caches, etc. == Description == Server Status is a simple WordPress plugin for quickly displaying important statistics and configuration settings in regard to your server and WordPress environment. Specifically, the plugin creates a single dashboard widget along with a small line of data in the WP Admin footer with key info in regard to memory usage, PHP configuration, and several other useful items. This plugin does NOT aim to replace the need for researching `phpinfo` or `wp-config` settings when extensive server statistics or configuration settings are needed. Rather, it aims to highlight the most commonly required settings needed by WordPress developers in an effort to save time and improve productivity. We've purposefully avoided having a "settings" page for this plugin in order to keep things as simple as possible. However, as with any dashboard widget, you can easily hide the Server Status widget if needed (although not the footer data). The code aims to be as minimalistic as possible while adhering to best practices. It blocks direct calls of its PHP files for security reasons and also implements transients so that data is briefly cached for top speed and performance (although "Memory Usage" and "Load Average" are not currently cached with transients). Compatibility: * Meant for Linux servers * Minimum PHP version: 5.4.3 * Designed for: PHP 7+ and MySQL 5.7+ * Can be used as a "Must Use" plugin (mu-plugins) Future plugin goals: * Localization (translation support) * Transient experimentation * More features (based on user suggestions) * Code maintenance/improvements Code inspired by: * [WP Memory Usage](https://wordpress.org/plugins/wp-memory-usage/) * [WP System Health](https://wordpress.org/plugins/wp-system-health/) * [TCP Memory Usage](https://wordpress.org/plugins/tpc-memory-usage/) * [WP Server Stats](https://wordpress.org/plugins/wp-server-stats/) * [Server Monitor](https://wordpress.org/plugins/server-monitor/) NOTE: We released this plugin in response to our managed hosting clients asking for better access to their server environment, and our primary goal will likely remain supporting that purpose. Although we are 100% open to fielding requests from the WordPress community, we kindly ask that you consider all of the above mentioned goals before leaving reviews of this plugin, thanks! == Installation == 1. Upload the plugin files to `/wp-content/plugins/server-status-littlebizzy` 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Check your WP Admin dashboard (admin users only) and footer area to view the statistics 4. For alternative layouts put either `define('SVRSTS_DISPLAY', 'grid');` or `define('SVRSTS_DISPLAY', 'widefat');` somewhere in your `wp-config` settings == Frequently Asked Questions == = Does this plugin show everything from `phpinfo` settings? = No, and it's not meant to. Please read the description tab for more info. = Does this plugin show everything from `wp-config` settings? = No, and it's not meant to. Please read the description tab for more info. = How can I change this plugin's settings? = This plugin does not have a settings page and is designed for speed and simplicity. = I have a suggestion, how can I let you know? = Please avoid leaving negative reviews in order to get a feature implemented. Instead, we kindly ask that you post your feedback on the wordpress.org support forums by tagging this plugin in your post. If needed, you may also contact our homepage. == Screenshots == == Changelog == = 1.2.2 = * tweak plugin meta = 1.2.1 = * Fixed Opcache size calculation bug * Tweaked size calculation for Memory Usage (no decimal, M not MB) = 1.2 = * CPU cores and load average now available * better calculation rounding i.e. KB, MB, GB, TB * disk space now total "used" instead of total "free" * WordPress timezone show alongside server timezone now * tweaked formatting of sizes (added 2 decimal places, etc) * Opcache now on a different line than Page Cache = 1.1.1 = * Database Charset/Collate layout tweaked (was backwards). * Readme.txt revised for wordpress.org and minor changes to "short" description, etc in `server-status.php` * Default layout changed to be much more compressed to save space. * Alternative layout options added, which must be defined within `wp-config` = 1.1 = * Code entirely re-written with best practices for PHP 7+ (including transients). = 1.0 = * Initial (private) release based on previous WordPress plugins. == Other Notes == Some details about the plugin implementation: /server-status.php - Main plugin file which loads the dashboard or footer admin files through the WP hooks. - No direct HTTP calls allowed, aborting the code execution if ABSPATH WP constant not defined. - Defines some plugin constants like plugin path or cache refresh duration. - Returns execution to WP in case we are outside of WP admin area. - Only two functions to handle the WP hooks, avoiding PHP parsing of not used code. /admin/dashboard.php - Loaded only in dashboard context. - The widdget code first loads the /core/status.php file with common procedures. - Database access and disk access are cached for 30 seconds into one WP transient: disk space, database size and mysql version. - Only one database access reading the transient "srvsts_data", expiration time is defined in constant SVRSTS_REFRESH from main /server-status.php file. - The widget displays items in a two columns table, except for long items where is used an entire row with one column. - Exposes the WP filter "srvsts_items" allowing to add or modify more server status data. /admin/footer.php - This file is loaded after the "admin_footer_text" hook - Loads the /core/status.php file with common procedures in a require_once way. - Request the memory usage function without caching argument to get the current memory info. - No database access because here we are not using procedures that requires transient data. /core/status.php - There is two parts, the first one is for server status procedures info, and the second part to check/save this data in a WP transient - Memory usage procedure can be called with or without local cache argument (this value is not saved in the transient). The code has been tested on PHP 7 with no errors. Direct HTTP requests to any file does not produce error log records. All classes are implemented with static methods, so there are no objects instances in memory.
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings