1、nload功能 用来实时监控网路状态和各ip所使用的带宽。 2、安装

[root@test ~]# wget http://www.roland-riegel.de/nload/nload-0.7.2.tar.gz 
[root@test ~]# tar  -zxvf nload-0.7.2.tar.gz 
[root@test nload-0.7.2]# yum install gcc gcc-c++ ncurses-devel 

注:安装以上依赖包解决以下问题 A、checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. B、configure: error: ncurses library or development files not found. ncurses is required for nload

[root@test nload-0.7.2]# ./configure --prefix=/usr/local/nload
[root@test nload-0.7.2]# make
[root@test nload-0.7.2]# make install

3、命令显示数据信息 (1)执行命令

[root@test nload-0.7.2]# /usr/local/nload/bin/nload 

image.png

(2)显示信息解析 Incoming:进入网卡的流量; Outgoing:网卡出去的流量; Avg:平均流量; Min:最小流量; Max:最大流量; Ttl:总和流量。 4、常用参数 -a:这个好像是全部数据的刷新时间周期,单位是秒,默认是300. -i:进入网卡的流量图的显示比例最大值设置,默认10240 kBit/s. -m:不显示流量图,只显示统计数据。 -o:网卡出去的流量图的显示比例最大值设置,默认10240 kBit/s. -t:显示数据的刷新时间间隔,单位是毫秒,默认500。

个人公众号:linux言叙 2e080a0e646cea0e91cd8994493cd3e.jpg