nload是个很好用的一个工具,功能也很强.只是相对单一,只能查看总的流量,不能像iptraf那样,可针对IP,协议等
可以实时地监控网卡的流量,分Incoming,Outgoing两部分,也就是流入与流出的流量
同时统计当前,平均,最小,最大,总流量的值,使人看了一目了然,如下图
============================================================================
官网及下载 http://www.roland-riegel.de/nload/index.html
http://www.roland-riegel.de/nload/nload-0.7.2.tar.gz
http://dl.wdlinux.cn:5180/soft/nload-0.7.2.tar.gz
安装
wget http://www.roland-riegel.de/nload/nload-0.7.2.tar.gz
tar zxvf nload-0.7.2.tar.gz
cd nload-0.7.2
./configure;make;make install
使用
直接用nload回车即可,也可以指定网卡,如nload eth1
还可以指定是以K或M来显示流量,如nload -u M显示的流量是以MB为单位的
=========================================================================
安装问题及解决办法
1、configure: error: C++ compiler cannot create executables
解决办法:
yum install -y gcc gcc++ gcc-c++
(全装了,本人对C++不懂,不知道有没有更好的方法,对了,
gcc
-
g77 这个不装好像也行
)
2、configure: error: ncurses library or development files not found. ncurses is
解决办法:
yum install -y ncurses-devel