其他分享
首页 > 其他分享> > moosefs 命令

moosefs 命令

作者:互联网

 

>>> print(os.popen("mfscli -SIN").read())
metadata servers:    172.20.0.2    3.0.115    -    1607619683.011191    67    not available    231469056    all:2.3846277% sys:2.0484919% user:0.3361358%    1607619600    0.098    Saved in background    FFCCFD8ADEFBE2DE

master info:    master version    3.0.115
master info:    RAM used    231469056
master info:    CPU used (system)    0.020484919
master info:    CPU used (user)    0.003361358
master info:    total space    455577403392
master info:    avail space    65449283584
master info:    free space    65449283584
master info:    trash space    0
master info:    trash files    0
master info:    sustained space    0
master info:    sustained files    0
master info:    all fs objects    1
master info:    directories    1
master info:    files    0
master info:    chunks    0
master info:    all chunk copies    0
master info:    regular chunk copies    0
master info:    last successful store    1607619600
master info:    last save duration    0.098
master info:    last save status    Saved in background

memory usage detailed info:    chunk hash    0    0
memory usage detailed info:    chunks    0    0
memory usage detailed info:    cs lists    0    0
memory usage detailed info:    edge hash    0    0
memory usage detailed info:    edges    0    0
memory usage detailed info:    node hash    8    134217728
memory usage detailed info:    nodes    112    9999936
memory usage detailed info:    deleted nodes    0    0
memory usage detailed info:    chunk tabs    0    0
memory usage detailed info:    symlinks    0    0
memory usage detailed info:    quota    0    0
all chunks matrix:    chunkclass missing:    0
all chunks matrix:    chunkclass endangered:    0
all chunks matrix:    chunkclass undergoal:    0
all chunks matrix:    chunkclass stable:    0
all chunks matrix:    chunkclass overgoal:    0
all chunks matrix:    chunkclass pending deletion:    0
all chunks matrix:    chunkclass to be removed:    0
chunk loop    no data
check loop    start:    1607599642
check loop    end:    1607602919
check loop    files:    0
check loop    under-goal files:    0
check loop    missing files:    0
check loop    missing trash files:    0
check loop    missing sustained files:    0
check loop    chunks:    0
check loop    under-goal chunks:    0
check loop    missing chunks:    0

 

>>> print(os.popen("mfscli -SMS").read())
active mounts, parameters:    6    8a510d316d29    /mnt/moosefs    0    1    3.0.115    /    rw    yes    no    yes    0    0    -    -    -    -    -    -    00000000000

>>> print(os.popen("mfscli -SRS").read())
storage classes:    1    1    NO    STD    0    0    -    0    -    -    -    -    YES    1                    *                    YES    1                    *                    YES    1                    *                    -
storage classes:    2    2    NO    STD    0    1    -    0    -    -    -    -    YES    2                  * , *                  YES    2                  * , *                  YES    2                  * , *                  -
storage classes:    3    3    NO    STD    0    0    -    0    -    -    -    -    YES    3                * , * , *                YES    3                * , * , *                YES    3                * , * , *                -
storage classes:    4    4    NO    STD    0    0    -    0    -    -    -    -    YES    4              * , * , * , *              YES    4              * , * , * , *              YES    4              * , * , * , *              -
storage classes:    5    5    NO    STD    0    0    -    0    -    -    -    -    NO     5            * , * , * , * , *            NO     5            * , * , * , * , *            NO     5            * , * , * , * , *            -
storage classes:    6    6    NO    STD    0    0    -    0    -    -    -    -    NO     6          * , * , * , * , * , *          NO     6          * , * , * , * , * , *          NO     6          * , * , * , * , * , *          -
storage classes:    7    7    NO    STD    0    0    -    0    -    -    -    -    NO     7        * , * , * , * , * , * , *        NO     7        * , * , * , * , * , * , *        NO     7        * , * , * , * , * , * , *        -
storage classes:    8    8    NO    STD    0    0    -    0    -    -    -    -    NO     8      * , * , * , * , * , * , * , *      NO     8      * , * , * , * , * , * , * , *      NO     8      * , * , * , * , * , * , * , *      -
storage classes:    9    9    NO    STD    0    0    -    0    -    -    -    -    NO     9    * , * , * , * , * , * , * , * , *    NO     9    * , * , * , * , * , * , * , * , *    NO     9    * , * , * , * , * , * , * , * , *    -

 

>>> print(os.popen("mfscli -SCS").read())
chunk servers:    mfschunkserver1.moosefs_moosefsnet    9422    2    M      3.0.115    0    maintenance_off    0    97497116672    114968137728    -    0    0    0
chunk servers:    mfschunkserver2.moosefs_moosefsnet    9422    1    B,M    3.0.115    0    maintenance_off    0    97496309760    114968137728    -    0    0    0
chunk servers:    mfschunkserver3.moosefs_moosefsnet    9422    3    B,M    3.0.115    0    maintenance_off    0    97496309760    114968137728    -    0    0    0
chunk servers:    mfschunkserver4.moosefs_moosefsnet    9422    4    B      3.0.115    0    maintenance_off    0    97496309760    114968137728    -    0    0    0

 

标签:info,usage,NO,moosefs,命令,master,chunks,YES
来源: https://www.cnblogs.com/dong320/p/14118371.html