安装nload流量监控软件

  |   0 评论   |   0 浏览

安装 nload 流量监控软件

  1.yum 安装 nload

1yum install nload -y

  2.查看 nload 帮助

 1nload version 0.7.4
 2Copyright (C) 2001 - 2012 by Roland Riegel <[email protected]>
 3nload comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
 4welcome to redistribute it under certain conditions. For more details see the
 5GNU General Public License Version 2 (http://www.gnu.org/copyleft/gpl.html).
 6
 7Command line syntax:
 8nload [options] [devices]
 9nload --help|-h
10
11Options:
12-a period       Sets the length in seconds of the time window for average
13                calculation.
14                Default is 300.
15-i max_scaling  Specifies the 100% mark in kBit/s of the graph indicating the
16                incoming bandwidth usage. Ignored if max_scaling is 0 or the
17                switch -m is given.
18                Default is 10240.
19-m              Show multiple devices at a time; no traffic graphs.
20-o max_scaling  Same as -i but for the graph indicating the outgoing bandwidth
21                usage.
22                Default is 10240.
23-t interval     Determines the refresh interval of the display in milliseconds.
24                Default is 500.
25-u h|b|k|m|g    Sets the type of unit used for the display of traffic numbers.
26   H|B|K|M|G    h: auto, b: Bit/s, k: kBit/s, m: MBit/s etc.
27                H: auto, B: Byte/s, K: kByte/s, M: MByte/s etc.
28                Default is h.
29-U h|b|k|m|g    Same as -u, but for a total amount of data (without "/s").
30   H|B|K|M|G    Default is H.
31devices         Network devices to use.
32                Default is to use all auto-detected devices.
33--help
34-h              Print this help.
35
36example: nload -t 200 -i 1024 -o 128 -U M
37
38The options above can also be changed at run time by pressing the 'F2' key.

  3.使用 nload 查看当前流量负载

1nload -u M eth0

  命令输出结果如下:

  image.png

  这样可以更直接的看到服务器的网络负载情况

---------------------------------------------------------------
>> 博客地址:https://blog.mufengs.com
>> 邮箱地址:[email protected]
>> 微信帐号:Do8080
>> Github : https://github.com/mufengcoding
---------------------------------------------------------------