zoukankan      html  css  js  c++  java
  • VxDMP管理-3

    10. 收集和显示IO统计信息

    • 显示IO统计信息

    root@node1 # vxdmpadm iostat start

    开启IO统计信息收集
    root@node1 # vxdmpadm iostat show dmpnodename=ams_23000_13 interval=5 count=2
                           cpu usage = 411188us    per cpu memory = 77824b
                            OPERATIONS            BLOCKS          AVG TIME(ms)
    PATHNAME             READS    WRITES     READS    WRITES     READS    WRITES
    c2t0d5s2            138210    320309    174580   1927284   10.62     1.41
    c3t0d5s2            141862    333628    180039   1989281    0.60     1.60

    c2t0d5s2                 7        27         7       258    0.35     0.46
    c3t0d5s2                 8        32         8       267    0.17     0.41

    显示IO统计信息
    root@node1 # vxdmpadm iostat stop

    停止IO统计信息收集

    root@node1 # vxdmpadm -q iostat show dmpnodename=ams_23000_13 interval=5 count=2
                           cpu usage = 1773us    per cpu memory = 8192b
                            QUEUED I/Os   PENDING I/Os
    DMPNODENAME          READS    WRITES
    ams_23000_13             0         0         0

    ams_23000_13             0         0         0

    -q: 显示队列中的IO信息

    root@node1 # vxdmpadm -e iostat show dmpnodename=ams_23000_13 interval=5 count=2
                           cpu usage = 5536us    per cpu memory = 8192b
                            ERROR I/Os
    DMPNODENAME          READS    WRITES
    ams_23000_13             0         0

    ams_23000_13             0         0

    -e: 显示IO Error信息

    root@node1 # vxdmpadm -zq iostat show dmpnodename=ams_23000_13 interval=5 count=2

    -z: 去掉全是0的信息

    • 显示IO累积信息

    root@node1 # vxdmpadm iostat show groupby=dmpnode dmpnodename=ams_23000_13 interval=5 count=2
                           cpu usage = 12684us    per cpu memory = 8192b
                            OPERATIONS            BLOCKS          AVG TIME(ms)
    DMPNODENAME          READS    WRITES     READS    WRITES     READS    WRITES
    ams_23000_13          2808      6714      2808     37745    1.35     0.67

    ams_23000_13            15        29        15       109    0.29     0.26

    groupby dmpnode

    root@node1 # vxdmpadm iostat show groupby=ctlr all interval=5 count=2
                           cpu usage = 13878us    per cpu memory = 8192b
                            OPERATIONS            BLOCKS          AVG TIME(ms)
    CTLRNAME             READS    WRITES     READS    WRITES     READS    WRITES
    c1                       0         0         0         0    0.00     0.00
    c2                    2852      4406     43595     39537    1.40     0.67
    c3                    2862      4498     45186     39212    0.21     0.55

    c1                       0         0         0         0    0.00     0.00
    c2                      10        28       134       289    0.35     0.24
    c3                      16        25       233       254    0.19     0.24

    groupby controler

    root@node1 # vxdmpadm iostat show groupby=arrayport enclosure=ams_23000 portid=0D interval=5 count=2
                           cpu usage = 15301us    per cpu memory = 8192b
                            OPERATIONS            BLOCKS          AVG TIME(ms)
    PORTIDS        READS    WRITES     READS    WRITES     READS    WRITES
    ams_23000:0D          3202      4976     50426     43550    0.21     0.53

    ams_23000:0D            15        20       201       206    0.17     0.22

    groupby array port

    root@node1 # vxdmpadm iostat show groupby=enclosure all interval=5 count=2
                           cpu usage = 17496us    per cpu memory = 8192b
                            OPERATIONS            BLOCKS          AVG TIME(ms)
    ENCLOSURENAME        READS    WRITES     READS    WRITES     READS    WRITES
    ams_23000             7226     11257    111905     98945    0.70     0.62
    disk                     0         0         0         0    0.00     0.00

    ams_23000               26        66       367       721    0.24     1.61
    disk                     0         0         0         0    0.00     0.00

    groupby enclosure

  • 相关阅读:
    Timer 实现2秒4秒连环炸
    Java中的注解
    PHP连接打印机
    php同步mysql两个数据库中表的数据
    thinkphp 两表、三表联合查询
    ereg/eregi报错处理办法
    ThinkPHP3.2判断手机端访问并设置默认访问模块的方法
    使用PHP获取时间今天 明天 昨天 时间戳的详解
    jquery获取radio和select选中值
    php开启mysqli扩展之后如何连接数据库
  • 原文地址:https://www.cnblogs.com/cqubityj/p/2457323.html
Copyright © 2011-2022 走看看