Join the community today
Become a Member

Master Branch update cminfo top stats in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    43,121
    9,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,114
    Local Time:
    12:55 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update cminfo top stats in 123.09beta01

    Add to cminfo top command sar cpu % utilisation averages for past 7 days to output. You can change how many days you display by setting CMINFO_SAR_DAYS='7' variable in persistent config file /etc/centminmod/custom_config.inc.

    example
    Code (Text):
    ------------------------------------------------------------------
     CPU Utilisation % 7 Day Averages (8 CPU Threads):
    ------------------------------------------------------------------
    Jan 07 2020 %CPU Average: %user: 0.11 %nice: 0.00 %system: 0.06 %iowait: 0.54 %steal: 0.00 %idle: 99.29
    Jan 06 2020 %CPU Average: %user: 0.26 %nice: 0.00 %system: 0.13 %iowait: 0.55 %steal: 0.00 %idle: 99.06
    Jan 05 2020 %CPU Average: %user: 0.27 %nice: 0.00 %system: 0.17 %iowait: 0.57 %steal: 0.00 %idle: 98.99
    Jan 04 2020 %CPU Average: %user: 1.49 %nice: 0.00 %system: 0.81 %iowait: 0.50 %steal: 0.00 %idle: 97.21
    Jan 03 2020 %CPU Average: %user: 0.18 %nice: 0.00 %system: 0.13 %iowait: 0.62 %steal: 0.00 %idle: 99.07
    Jan 02 2020 %CPU Average: %user: 0.19 %nice: 0.00 %system: 0.18 %iowait: 0.55 %steal: 0.00 %idle: 99.07
    Jan 01 2020 %CPU Average: %user: 0.22 %nice: 0.00 %system: 0.16 %iowait: 0.67 %steal: 0.00 %idle: 98.95


    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.