Learn about Centmin Mod LEMP Stack today
Become a Member

Master Branch update cminfo command add sar-json option in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 16, 2020 at 8:42 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    45,155
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    10:52 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update cminfo command add sar-json option in 123.09beta01

    Add to cmfino command a new sar-json option to output system stats in json format using sadf.

    Example commands will respectively print out current system stats and print out 3x 1 second interval stats in pretty json format and the last 2 commands and do the same in compact json format

    cminfo sar-json
    cminfo sar-json 3
    cminfo sar-json | jq -c
    cminfo sar-json 3 | jq -c

    Continue reading...

    Centmin Mod Github Master branch

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