When i run the script give me errors plus not detect php-fpm pools
===== Apache Config =====
ls: cannot access /etc/apache2/"/etc/apache2/conf.modules.d/.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_main_global.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/account_suspensions.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/errordocument.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_virtualhost_global.conf": No such file or directory
ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/post_virtualhost_global.conf": No such file or directory
===== List of PHP-FPM pools =====
===== Server memory usage statistics =====
Total server memory in KB: 1168576
=Total Apache memory usage in KB: 0
=Total nginx memory usage in KB: 0
=Total Varnish memory usage in KB: 0
=Total MySQL memory usage in KB: 1168.5
=Total PHP-FPM memory usage in KB: 0
Memory available to assign to PHP-FPM pools in KB: 1123100 (total free memory + PHP-FPM's current memory usage)
Total potential PHP-FPM memory usage based on largest processes (KB): 0 (0%) ...GOOD :-)
Total potential PHP-FPM memory usage based on average process size (KB): 0 (0%) ...GOOD :-)
Hi,
This script not work on cPanel or Centos 7
When i run the script give me errors plus not detect php-fpm pools
===== Apache Config ===== ls: cannot access /etc/apache2/"/etc/apache2/conf.modules.d/.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_main_global.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/account_suspensions.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/errordocument.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_virtualhost_global.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/post_virtualhost_global.conf": No such file or directory ===== List of PHP-FPM pools ===== ===== Server memory usage statistics ===== Total server memory in KB: 1168576 =Total Apache memory usage in KB: 0 =Total nginx memory usage in KB: 0 =Total Varnish memory usage in KB: 0 =Total MySQL memory usage in KB: 1168.5 =Total PHP-FPM memory usage in KB: 0
Memory available to assign to PHP-FPM pools in KB: 1123100 (total free memory + PHP-FPM's current memory usage)
Total potential PHP-FPM memory usage based on largest processes (KB): 0 (0%) ...GOOD :-) Total potential PHP-FPM memory usage based on average process size (KB): 0 (0%) ...GOOD :-)
===== Recommendations per pool =====