{"id":51869,"date":"2016-10-30T02:55:42","date_gmt":"2016-10-30T02:55:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/server-status-littlebizzy\/"},"modified":"2018-11-12T05:13:51","modified_gmt":"2018-11-12T05:13:51","slug":"server-status-littlebizzy","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/server-status-littlebizzy\/","author":8897393,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"1.4.0","tested":"5.0.25","requires":"4.4","requires_php":"7.0","requires_plugins":"","header_name":"Server Status","header_author":"LittleBizzy","header_description":"","assets_banners_color":"","last_updated":"2018-11-12 05:13:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.patreon.com\/littlebizzy","header_plugin_uri":"https:\/\/www.littlebizzy.com\/plugins\/server-status","header_author_uri":"https:\/\/www.littlebizzy.com","rating":4.8,"author_block_rating":0,"active_installs":900,"downloads":75613,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":"1","3":0,"4":"2","5":"32"},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1901930","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.1","1.2.0","1.2.1","1.2.10","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1508,2925,522,409,2680],"plugin_category":[59],"plugin_contributors":[81153],"plugin_business_model":[],"class_list":["post-51869","plugin","type-plugin","status-closed","hentry","plugin_tags-health","plugin_tags-server","plugin_tags-stats","plugin_tags-status","plugin_tags-system","plugin_category-utilities-and-tools","plugin_contributors-littlebizzy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/server-status-littlebizzy.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Useful statistics about the server OS, CPU, RAM, load average, memory usage, IP address, hostname, timezone, disk space, PHP, MySQL, caches, etc.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/www.facebook.com\/groups\/littlebizzy\/\"><strong>Join our FREE Facebook group for support<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/server-status-littlebizzy\/reviews\/?rate=5#new-post\"><strong>Worth a 5-star review? Thank you!<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.littlebizzy.com\/plugins\/server-status\">Plugin Homepage<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/littlebizzy\/server-status\">Plugin GitHub<\/a><\/li>\n<\/ul>\n\n<h4>Current Features<\/h4>\n\n<p>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.<\/p>\n\n<p>This plugin does NOT aim to replace the need for researching <code>phpinfo<\/code> or <code>wp-config<\/code> 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.<\/p>\n\n<p>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).<\/p>\n\n<p>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).<\/p>\n\n<p>You may change display style using the following constant (below) change default \"widefat\" to \"grid\"...<\/p>\n\n<p>Some details about the plugin implementation:<\/p>\n\n<p>\/server-status.php\n- Main plugin file which loads the dashboard or footer admin files through the WP hooks.\n- No direct HTTP calls allowed, aborting the code execution if ABSPATH WP constant not defined.\n- Defines some plugin constants like plugin path or cache refresh duration.\n- Returns execution to WP in case we are outside of WP admin area.\n- Only two functions to handle the WP hooks, avoiding PHP parsing of not used code.<\/p>\n\n<p>\/admin\/dashboard.php\n- Loaded only in dashboard context.\n- The widdget code first loads the \/core\/status.php file with common procedures.\n- Database access and disk access are cached for 30 seconds into one WP transient: disk space, database size and mysql version.\n- Only one database access reading the transient \"srvsts_data\", expiration time is defined in constant SVRSTS_REFRESH from main \/server-status.php file.\n- The widget displays items in a two columns table, except for long items where is used an entire row with one column.\n- Exposes the WP filter \"srvsts_items\" allowing to add or modify more server status data.<\/p>\n\n<p>\/admin\/footer.php\n- This file is loaded after the \"admin_footer_text\" hook\n- Loads the \/core\/status.php file with common procedures in a require_once way.\n- Request the memory usage function without caching argument to get the current memory info.\n- No database access because here we are not using procedures that requires transient data.<\/p>\n\n<p>\/core\/status.php\n- 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\n- Memory usage procedure can be called with or without local cache argument (this value is not saved in the transient).<\/p>\n\n<p>The code has been tested on PHP 7 with no errors.\nDirect HTTP requests to any file does not produce error log records.\nAll classes are implemented with static methods, so there are no objects instances in memory.<\/p>\n\n<h4>Compatibility<\/h4>\n\n<p>This plugin has been designed for use on <a href=\"https:\/\/slickstack.io\">SlickStack<\/a> web servers with PHP 7.2 and MySQL 5.7 to achieve best performance. All of our plugins are meant for single site WordPress installations only; for both performance and usability reasons, we highly recommend avoiding WordPress Multisite for the vast majority of projects.<\/p>\n\n<p>Any of our WordPress plugins may also be loaded as \"Must-Use\" plugins by using our free <a href=\"https:\/\/github.com\/littlebizzy\/autoloader\">Autoloader<\/a> script in the <code>mu-plugins<\/code> directory.<\/p>\n\n<h4>Defined Constants<\/h4>\n\n<pre><code>\/* Plugin Meta *\/\ndefine('DISABLE_NAG_NOTICES', true);\n\n\/* Server Status Functions *\/\ndefine('SERVER_STATUS_DISPLAY', 'widefat');\n<\/code><\/pre>\n\n<h4>Plugin Features<\/h4>\n\n<ul>\n<li>Prefix: SVRSTS<\/li>\n<li>Parent Plugin: N\/A<\/li>\n<li>Disable Nag Notices: <a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_notices#Disable_Nag_Notices\">Yes<\/a><\/li>\n<li>Settings Page: No<\/li>\n<li>PHP Namespaces: No<\/li>\n<li>Object-Oriented Code: No<\/li>\n<li>Includes Media (images, icons, etc): No<\/li>\n<li>Includes CSS: No<\/li>\n<li>Database Storage: Yes\n\n<ul>\n<li>Transients: Yes<\/li>\n<li>WP Options Table: Yes<\/li>\n<li>Other Tables: No<\/li>\n<li>Creates New Tables: No<\/li>\n<li>Creates New WP Cron Jobs: No<\/li>\n<\/ul><\/li>\n<li>Database Queries: Backend Only (Options API + Transients API)<\/li>\n<li>Must-Use Support: <a href=\"https:\/\/github.com\/littlebizzy\/autoloader\">Yes<\/a><\/li>\n<li>Multisite Support: No<\/li>\n<li>Uninstalls Data: Yes<\/li>\n<\/ul>\n\n<h4>Special Thanks<\/h4>\n\n<p><a href=\"https:\/\/www.alexgeorgiou.gr\">Alex Georgiou<\/a>, <a href=\"https:\/\/automattic.com\">Automattic<\/a>, <a href=\"https:\/\/bradt.ca\">Brad Touesnard<\/a>, <a href=\"http:\/\/www.danielauener.com\">Daniel Auener<\/a>, <a href=\"https:\/\/deliciousbrains.com\">Delicious Brains<\/a>, <a href=\"https:\/\/gregrickaby.com\">Greg Rickaby<\/a>, <a href=\"https:\/\/ma.tt\">Matt Mullenweg<\/a>, <a href=\"https:\/\/halfelf.org\">Mika Epstein<\/a>, <a href=\"https:\/\/mikengarrett.com\">Mike Garrett<\/a>, <a href=\"http:\/\/ottopress.com\">Samuel Wood<\/a>, <a href=\"http:\/\/coffee2code.com\">Scott Reilly<\/a>, <a href=\"https:\/\/profiles.wordpress.org\/jdembowski\">Jan Dembowski<\/a>, <a href=\"https:\/\/perishablepress.com\">Jeff Starr<\/a>, <a href=\"https:\/\/jeffc.me\">Jeff Chandler<\/a>, <a href=\"https:\/\/jeffmatson.net\">Jeff Matson<\/a>, <a href=\"https:\/\/jeremywagner.me\">Jeremy Wagner<\/a>, <a href=\"https:\/\/jjj.blog\">John James Jacoby<\/a>, <a href=\"https:\/\/leland.me\">Leland Fiegel<\/a>, <a href=\"https:\/\/github.com\/lukecav\">Luke Cavanagh<\/a>, <a href=\"https:\/\/mikejolley.com\">Mike Jolley<\/a>, <a href=\"https:\/\/pauiglesias.com\">Pau Iglesias<\/a>, <a href=\"https:\/\/www.paulirish.com\">Paul Irish<\/a>, <a href=\"https:\/\/profiles.wordpress.org\/rahul286\">Rahul Bansal<\/a>, <a href=\"https:\/\/roots.io\">Roots<\/a>, <a href=\"https:\/\/rtcamp.com\">rtCamp<\/a>, <a href=\"https:\/\/geek.hellyer.kiwi\">Ryan Hellyer<\/a>, <a href=\"https:\/\/wpchat.com\">WP Chat<\/a>, <a href=\"https:\/\/wptavern.com\">WP Tavern<\/a><\/p>\n\n<h4>Disclaimer<\/h4>\n\n<p>We released this plugin in response to our managed hosting clients asking for better access to their server, and our primary goal will remain supporting that purpose. Although we are 100% open to fielding requests from the WordPress community, we kindly ask that you keep these conditions in mind, and refrain from slandering, threatening, or harassing our team members in order to get a feature added, or to otherwise get \"free\" support. The only place you should be contacting us is in our free <a href=\"https:\/\/www.facebook.com\/groups\/littlebizzy\/\"><strong>Facebook group<\/strong><\/a> which has been setup for this purpose, or via GitHub if you are an experienced developer. Thank you!<\/p>\n\n<h4>Our Philosophy<\/h4>\n\n<blockquote>\n  <p>\"Decisions, not options.\" -- WordPress.org<\/p>\n  \n  <p>\"Everything should be made as simple as possible, but not simpler.\" -- Albert Einstein, et al<\/p>\n  \n  <p>\"Write programs that do one thing and do it well... write programs to work together.\" -- Doug McIlroy<\/p>\n  \n  <p>\"The innovation that this industry talks about so much is bullshit. Anybody can innovate... 99% of it is 'Get the work done.' The real work is in the details.\" -- Linus Torvalds<\/p>\n<\/blockquote>\n\n<h4>Search Keywords<\/h4>\n\n<p>server monitor, server status, system status, tcp memory usage, wp memory usage, wp server stats, wp system health<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/server-status-littlebizzy<\/code><\/li>\n<li>Activate via WP Admin &gt; Plugins<\/li>\n<li>Test plugin is working:<\/li>\n<\/ol>\n\n<p>After plugin activation, purge all caches. Then, under the Dashboard area of WP Admin you should see a new dashboard widget called Server Status with various system information visible (Admin-level users only). In addition at the very bottom of every WP Admin page you should see a single line of brief system stats visible as well.<\/p>\n\n<ol>\n<li>For alternative layouts, use either <code>define('SVRSTS_DISPLAY', 'grid');<\/code> or <code>define('SVRSTS_DISPLAY', 'widefat');<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Does this plugin show everything from `phpinfo` settings?<\/dt>\n<dd><p>No, and it's not meant to. Please read the description tab for more info.<\/p><\/dd>\n<dt>Does this plugin show everything from `wp-config` settings?<\/dt>\n<dd><p>No, and it's not meant to. Please read the description tab for more info.<\/p><\/dd>\n<dt>How can I change this plugin's settings?<\/dt>\n<dd><p>This plugin does not have a settings page and is designed for speed and simplicity.<\/p><\/dd>\n<dt>I have a suggestion, how can I let you know?<\/dt>\n<dd><p>Please avoid leaving negative reviews in order to get a feature implemented. Instead, use our free Facebook group.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>tested with WP 5.0<\/li>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>updated recommended plugins<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>versioning correction (major changes in 1.2.10)<\/li>\n<li>(no code changes)<\/li>\n<\/ul>\n\n<h4>1.2.10<\/h4>\n\n<ul>\n<li>added support for <code>define('SERVER_STATUS_DISPLAY', 'grid | widefat');<\/code><\/li>\n<li>(old spelling <code>SVRSTS_DISPLAY<\/code> no longer supported)<\/li>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>added warning for Multisite installations<\/li>\n<li>updated recommended plugins<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>better support for <code>DISABLE_NAG_NOTICES<\/code><\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>tested with WP 4.9<\/li>\n<li>partial support for <code>DISABLE_NAG_NOTICES<\/code><\/li>\n<li>updated recommended plugins<\/li>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<p>= 1.2.6 \n* optimized plugin code\n* added rating request notice\n* updated recommended plugins<\/p>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>updated recommended plugins<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>added recommended plugins notice<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>tested with WP 4.8<\/li>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>fixed Opcache size calculation bug<\/li>\n<li>tweaked size calculation for Memory Usage (no decimal, M not MB)<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>CPU cores and load average now available<\/li>\n<li>better calculation rounding i.e. KB, MB, GB, TB<\/li>\n<li>disk space now total \"used\" instead of  total \"free\"<\/li>\n<li>WordPress timezone show alongside server timezone now<\/li>\n<li>tweaked formatting of sizes (added 2 decimal places, etc)<\/li>\n<li>Opcache now on a different line than Page Cache<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Database Charset\/Collate layout tweaked (was backwards)<\/li>\n<li>Readme.txt revised for wordpress.org and minor changes to \"short\" description, etc in <code>server-status.php<\/code><\/li>\n<li>Default layout changed to be much more compressed to save space.<\/li>\n<li>Alternative layout options added, which must be defined within <code>wp-config<\/code><\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>entirely recoded with PHP 7 and Transients API<\/li>\n<li>tested with PHP 7.0<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial release (private)<\/li>\n<\/ul>","raw_excerpt":"Useful statistics about the server OS, CPU, RAM, load average, memory usage, IP address, hostname, timezone, disk space, PHP, MySQL, caches, etc.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51869"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/littlebizzy"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51869"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51869"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51869"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51869"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51869"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}