nload 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

nload 命令补充说明:


nload 是一个控制台应用程序,可实时监控网络流量和带宽使用情况。 它使用两个图表可视化进出流量,并提供附加信息,如传输的数据总量和最小 / 最大网络使用量。

Device eth0 [172.10.1.1] (1/2):
============================================================================
Incoming:



                                                    Curr: 952.00 Bit/s
                                                    Avg: 84.57 kBit/s
                                                    Min: 952.00 Bit/s
                                                    Max: 800.27 kBit/s
         ..   .                         .           Ttl: 6.05 GByte
Outgoing:





                                                    Curr: 5.12 kBit/s
                                                    Avg: 200.95 kBit/s
                                        ...         Min: 3.02 kBit/s
                                        ####        Max: 2.17 MBit/s
                             .         .####        Ttl: 8.78 GByte

nload 命令语法:


nload [-a period] [-i max_scaling] [-m] [-o max_scaling] [-t interval] [-u h|H|b|B|k|K|m|M|g|G] [-U h|H|b|B|k|K|m|M|g|G] [devices]

nload --help|-h

nload 命令选项:


A summary of the options supported by nload is included below.

-a period
      Sets the length in seconds of the time window for average calculation.  The default is 300.

-i max_scaling
      Specifies  the  100%  mark  in  kBit/s  of the graph indicating the incoming bandwidth usage.  Ignored if max_scaling is 0 or the switch -m is given. The default value for max_scaling is
      10240.

-m     Show multiple devices at a time; do not show the traffic graphs.

-o max_scaling
      Same as -i but for the graph indicating the outgoing bandwidth usage.

-t interval
      Determines the refresh interval of the display in milliseconds.  The default value of interval is 500.

      PLEASE NOTE: Specifying refresh intervals shorter than about 100 milliseconds makes traffic calculation very unprecise. Also the display may flicker using such short  refresh  intervals.
      nload tries to balance this out by doing extra time measurements, but this may not always succeed.

-u h|H|b|B|k|K|m|M|g|G
      Sets  the  type  of unit used for the display of traffic numbers.  h means human readable (auto), b Bit/s, k kBit/s, m MBit/s and g GBit/s.  The upper case letters mean the corresponding
      units in Bytes (instead of Bits).  The default is k.

-U h|H|b|B|k|K|m|M|g|G
      Same as -u, but for an amount of data, e.g. Bit, kByte, GBit etc. (without "/s").  The default is M.

devices
      Network devices to use. The default is "all", which means to display all auto-detected devices.

-h, --help
      Show a short summary of these command line options.

nload 命令实例:


nload 查看所有网络流量(使用方向键切换接口):

nload

nload 查看特定接口上的网络流量(使用方向键切换接口):

nload device interface_one interface_two

nload 命令扩展阅读:




nload 命令评论