posts - 97,  comments - 5,  trackbacks - 0

          BWM-NG 監(jiān)控網絡帶寬和磁盤IO的小利器

          安裝 bwm-ng

          官網: http://www.gropp.org/
          1.監(jiān)控網絡:
        1. bwm-ng -u bits -d
        2. bwm-ng -u bytes -d


        3. 2.監(jiān)控磁盤IO
          bwm-ng -u bytes  -i disk
          下載附件 (21.76 KB)


          # bwm-ng --help   //更詳細的使用大家一起挖掘
          Bandwidth Monitor NG (bwm-ng) v0.6
          Copyright (C) 2004-2007 Volker Gropp <bwmng@gropp.org>
          USAGE: bwm-ng [OPTION] ... [CONFIGFILE]
          displays current ethernet interfaces stats

          Options:
            -t, --timeout <msec>    displays stats every <msec> (1msec = 1/1000sec)
                                    default: 500
            -d, --dynamic [value]   show values dynamicly (Byte KB or MB)
            -a, --allif [mode]      where mode is one of:
                                    0=show only up (and selected) interfaces
                                    1=show all up interfaces (default)
                                    2=show all and down interfaces
            -I, --interfaces <list> show only interfaces in <list> (comma seperated), or
                                    if list is prefaced with % show all but interfaces
                                    in list
            -S, --sumhidden [value] count hidden interfaces for total
            -A, --avglength <sec>   sets the span of average stats (Default 30s)
            -D, --daemon [value]    fork into background and daemonize
            -h, --help              displays this help
            -V, --version           print version info

          Input:
            -i, --input <method>    input method, one of: proc netstat disk
            -f, --procfile <file>   filename to read raw data from. (/proc/net/dev)
                --diskstatsfile <file> filename to read diskstats (Linux 2.6+) from. (/proc/diskstats)
                --partitionsfile <file> filename to read diskstats (Linux 2.4) from. (/proc/partitions)

          Output:
            -o, --output <method>   output method, one of:
                                    plain, curses, curses2, csv, html
            -u, --unit <value>      unit to show. one of bytes, bits, packets, errors
            -T, --type <value>      type of stats. one of rate, max, sum, avg
            -C, --csvchar <char>    delimiter for csv
            -F, --outfile <file>    output file for csv and html (default stdout)
            -R, --htmlrefresh <num> meta refresh for html output
            -H, --htmlheader        show <html> and <meta> frame for html output
            -c, --count <num>       number of query/output for plain & csv
            -N, --ansiout           disable ansi codes for plain output
                                    (ie 1 for one single output)

          天貓 軟件自動化測試開發(fā)

          posted on 2014-03-26 15:33 zouhui 閱讀(417) 評論(0)  編輯  收藏 所屬分類: 4.配置運維 監(jiān)控工具

          只有注冊用戶登錄后才能發(fā)表評論。


          網站導航:
           
          <2014年3月>
          2324252627281
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(2)

          隨筆分類(94)

          隨筆檔案(94)

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 合作市| 五大连池市| 永新县| 墨江| 道孚县| 加查县| 茂名市| 长乐市| 酉阳| 鄂托克前旗| 博兴县| 阿勒泰市| 海安县| 南阳市| 县级市| 太保市| 怀柔区| 苏尼特右旗| 桐柏县| 镶黄旗| 广平县| 建阳市| 棋牌| 博乐市| 普定县| 宁津县| 高青县| 托里县| 绩溪县| 合川市| 孙吴县| 宁夏| 余庆县| 化德县| 灵山县| 共和县| 兴山县| 二手房| 南京市| 高唐县| 衡南县|