nload是一个网络流量实时监控工具,它是针对网卡进行总流量汇总,不能像iftop等工具那样可以看到每个ip的流量,在linux运维中可以用来观看网卡的流量情况,用途还是挺多的。
如下图,
下载地址,如下,
https://sourceforge.net/projects/nload/
将下载下来的gz包进行解压,然后执行如下命令
./configure
make;make install
这里我记录下安装遇到的依赖包问题,执行./configure
出现如下错误,
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
解决方法,如下,安装gcc-c++
包
yum install gcc-c++
再次执行./configure
,出现如下错误,
configure: error: ncurses library or development files not found. ncurses is required for nload.
解决方法,如下,安装ncurses-devel
包
yum install -y ncurses-devel
再次执行./configure
,正常无误,接着就是执行make;make install
==手机QQ扫描下方二维码,快速加入Java架构师交流群==