{"id":414594,"date":"2024-12-02T08:00:00","date_gmt":"2024-12-02T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/my-server-info\/"},"modified":"2025-02-18T21:31:00","modified_gmt":"2025-02-18T21:31:00","slug":"my-server-info","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/my-server-info\/","title":{"rendered":"MyServerInfo \u2013 Memory Usage, PHP Version, Memory Limit, Execution Time, CPU Usage, Disk Usage"},"content":{"rendered":"<p>My Server Info is a lightweight plugin that displays key server and site information in your WordPress admin panel. It shows details like:<\/p>\n<ul>\n<li>PHP Version<\/li>\n<li>MySQL Version<\/li>\n<li>WordPress Memory Limit<\/li>\n<li>PHP Execution Time<\/li>\n<li>PHP Max Input Vars<\/li>\n<li>PHP post_max_size<\/li>\n<li>PHP upload_max_filesize<\/li>\n<li>Site IP Address<\/li>\n<li>Site Time and Timezone<\/li>\n<li>CPU Usage (Average over 1 minute)<\/li>\n<li>Disk Usage<\/li>\n<li>Memory Usage<\/li>\n<li>Server Uptime<\/li>\n<\/ul>\n<p><strong>PHP Version<\/strong><br \/>\nPHP Version indicates the current PHP version running on your server. WordPress relies on PHP for its core functionality, and using a supported version (7.4 or higher) ensures better performance, security, and compatibility with themes and plugins.<\/p>\n<p><strong>MySQL Version<\/strong><br \/>\nMySQL Version shows the version of the MySQL database your WordPress site is using. A compatible MySQL version (5.7 or higher) is essential for efficient data management, faster queries, and overall site stability.<\/p>\n<p><strong>WordPress Memory Limit<\/strong><br \/>\nWordPress Memory Limit defines the maximum amount of memory allocated for WordPress operations. A higher memory limit (256M or more) allows for smoother performance, especially when using resource-intensive plugins or handling large websites.<\/p>\n<p><strong>PHP Execution Time<\/strong><br \/>\nPHP Execution Time sets the maximum time a PHP script is allowed to run. Increasing this limit (300 seconds or more) helps prevent timeout errors during lengthy operations, such as bulk uploads or complex plugin processes.<\/p>\n<p><strong>PHP Max Input Vars<\/strong><br \/>\nPHP Max Input Vars specifies the maximum number of input variables your server can handle. Setting this to a higher value (3000 or more) ensures that large forms, like those in theme or plugin settings, function correctly without data loss.<\/p>\n<p><strong>PHP post_max_size<\/strong><br \/>\nPHP post_max_size determines the maximum size of data that can be submitted via POST requests. Setting this to at least 64M allows for uploading larger files through forms, such as media uploads or bulk data submissions, without encountering size limitations.<\/p>\n<p><strong>PHP upload_max_filesize<\/strong><br \/>\nPHP upload_max_filesize defines the maximum size of an individual file that can be uploaded through PHP. A higher limit (64M or more) is important for WordPress sites that handle large media files, plugins, or theme uploads, ensuring users can upload necessary files without restrictions.<\/p>\n<p><strong>Site IP Address<\/strong><br \/>\nSite IP Address displays your website\u2019s public IP address. Knowing your site\u2019s IP is useful for configuring DNS settings, troubleshooting connectivity issues, and enhancing site security through access controls.<\/p>\n<p><strong>Site Time and Timezone<\/strong><br \/>\nSite Time and Timezone reflect the current date, time, and timezone configured in your WordPress settings. Accurate time settings are crucial for scheduling posts, managing cron jobs, and ensuring consistency across your site\u2019s content and activities.<\/p>\n<p><strong>CPU Usage (Average over 1 minute)<\/strong><br \/>\nCPU Usage provides an approximate percentage of CPU utilization averaged over the past minute. This helps in monitoring server performance and identifying potential issues related to high CPU load.<\/p>\n<p><strong>Disk Usage<\/strong><br \/>\nDisk Usage shows the percentage of disk space used on your server. Monitoring disk usage helps in managing storage resources effectively and preventing issues related to insufficient disk space.<\/p>\n<p><strong>Admin Bar Integration<\/strong><br \/>\nUnder each progress bar, administrators can select checkboxes to add specific parameters to the WordPress admin bar. The available options are:<\/p>\n<ul>\n<li><strong>Memory Usage:<\/strong> Displays as <code>MEM: X%<\/code><\/li>\n<li><strong>CPU Usage:<\/strong> Displays as <code>AVG CPU: Y%<\/code><\/li>\n<li><strong>Disk Usage:<\/strong> Displays as <code>Disk: Z%<\/code><\/li>\n<\/ul>\n<p>This feature allows quick access to essential server metrics directly from the admin bar, enhancing monitoring efficiency.<\/p>\n<p><strong>Server Uptime<\/strong><br \/>\nDisplays the server\u2019s uptime by reading the \/proc\/uptime file on Linux systems and formatting it into days, hours, minutes, and seconds. On unsupported systems (e.g., Windows), it will show \u201cUnavailable\u201d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Displays Usage (CPU , Disk, Memory), PHP and MySQL Version, WP Memory Limit, PHP Execution Time, Max Input Vars, IP Address, Uptime, Timezone.<\/p>\n","protected":false},"author":65,"featured_media":418183,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"MyServerInfo \u2013 Memory Usage, PHP Version, Memory Limit, Execution Time, CPU Usage, Disk Usage - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Displays Usage (CPU , Disk, Memory), PHP and MySQL Version, WP Memory Limit, PHP Execution Time, Max Input Vars, IP Address, Uptime, Timezone."},"footnotes":""},"categories":[1],"tags":[17190,17668,10094,12465,22649],"class_list":["post-414594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-cpu-usage","tag-disk-usage","tag-memory","tag-memory-limit","tag-php-version"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/414594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=414594"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/414594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/418183"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=414594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=414594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=414594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}