Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update cminfo phpstats routine in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 18, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:32 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update cminfo phpstats routine in 123.09beta01

    - Add to cminfo phpstats command pidstats PHP-FPM process statistics output over 10 second duration interval
    - Add cminfo phpstats-cron command to which is same as cminfo phpstats command just with pidstats PHP-FPM process statistics output over 20 second duration interval instead of 10 seconds to record a longer period
    - Add to both cminfo phpstats and cminfo phpstats-cron a 2nd command argument to allow custom pidstat interval for outputted PHP-FPM statistics.


    Example for changing from default 10 second interval to pidstat 5 second interval recorded PHP-FPM pidstats output
    Code (Text):
    cminfo phpstats 5

    Example for changing from default 20 second interval to pidstat 5 second interval recorded PHP-FPM pidstats output
    Code (Text):
    cminfo phpstats-cron 5


    Continue reading...

    123.09beta01 branch