zoukankan      html  css  js  c++  java
  • 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

     

    >>> print(os.popen("mfscli -SEX").read())
    exports:    0.0.0.0    255.255.255.255    . (META)    0.0.0    -    no    rw    yes    -    -    -    -    -    -    -    -    -    -     -    00000000
    exports:    0.0.0.0    255.255.255.255    /    0.0.0    yes    no   rw    yes   no    yes   0    0    -    -    -    -    -    -    000   00000000

     

    >>> print(os.popen("mfscli -SHD").read())
    disks:    172.20.0.11:9422:/mnt/hdd0/    0    no errors    ok    -    -    -    -    -    -    -    -    89298989056    112820613120
    disks:    172.20.0.12:9422:/mnt/hdd0/    0    no errors    ok    -    -    -    -    -    -    -    -    89298984960    112820613120
    disks:    172.20.0.13:9422:/mnt/hdd0/    0    no errors    ok    -    -    -    -    -    -    -    -    89298984960    112820613120
    disks:    172.20.0.14:9422:/mnt/hdd0/    0    no errors    ok    -    -    -    -    -    -    -    -    89298993152    112820613120

    >>> print(os.popen("mfscli -SMO").read())
    active mounts, operations:    a872638589dc    /mnt/moosefs    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    >>> print(os.popen("mfscli -SMC -b 172.20.0.2:9421:getattr -b 172.20.0.2:9421:setattr").read())
    Master chart data:    2021-01-04 16:19    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:18    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:17    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:16    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:15    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:14    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:13    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:12    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:11    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:10    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:09    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:08    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:07    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:06    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:05    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:04    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:03    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:02    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:01    0.000/s    0.000/s
    Master chart data:    2021-01-04 16:00    0.000/s    0.000/s
    Master chart data:    2021-01-04 15:59    0.000/s    0.000/s
    Master chart data:    2021-01-04 15:58    0.000/s    0.000/s
    Master chart data:    2021-01-04 15:57    0.000/s    0.000/s
    Master chart data:    2021-01-04 15:56    0.000/s    0.000/s
    Master chart data:    2021-01-04 15:55    0.000/s    0.000/s
  • 相关阅读:
    游戏类型
    cocos2d-x lua 一些语法
    lua中ipairs和pairs
    lua的一些语法
    误删jre怎么办
    右键android工程的包名选择Build Path后怎么还原
    播放Armature动画
    接入第三方sdk出现了一些问题总结
    gettimeofday() 获取系统时间,精确到微秒 这个似乎只能在linux 下用,不能在windows 下用
    windows timeGetTime() 函数 获取系统从开机到现在的毫秒时间值
  • 原文地址:https://www.cnblogs.com/dong320/p/14118371.html
Copyright © 2011-2022 走看看