zoukankan      html  css  js  c++  java
  • Bwm-ng

    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 libstatgrab disk libstatdisk
    -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)

    输出文件字段含义

    csv output format: 
    Type rate:
    unix_timestamp;iface_name;bytes_out/s;bytes_in/s;bytes_total/s;bytes_in;bytes_out;packets_out/s;packets_in/s;packets_total/s;packets_in;packets_out;errors_out/s;errors_in/s;errors_in;errors_out
    Type svg, sum, max:
    unix_timestamp;iface_name;bytes_out;bytes_in;bytes_total;packets_out;packets_in;packets_total;errors_out;errors_in

  • 相关阅读:
    Tips_of_JS 之 利用JS实现水仙花数的寻找与实现斐波那契数列
    我的天!居然可以这么“弹”!—— 弹性盒布局属性详述
    震惊,正儿八经的网页居然在手机上这样显示!
    这是假的JS——利用CSS Animation实现banner图非交互循环播放
    小K的H5之旅-HTML5与CSS3部分新属性浅见
    CSS小技巧-煎蛋的画法~
    小K的H5之旅-实战篇(一)
    SSM+Redis简介
    Hadoop HA(高可用搭建)
    hadoop完全分布式搭建(非高可用)
  • 原文地址:https://www.cnblogs.com/zflibra/p/4395664.html
Copyright © 2011-2022 走看看