转自:http://blog.csdn.net/gaoyuan0512/article/details/78635382
1.centos网络带宽验证工具
1.1参考文章:speedtest-cli网络测速工具安装与使用 https://jingyan.baidu.com/article/0bc808fc5222bb1bd485b9e2.html1.2.speedtest-cli使用截图:
2.1安装与使用 http://jaseywang.me/2013/02/27/speedometer-%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8/
2.2前置包安装
yum install -y unzip;wget -q http://excess.org/urwid/urwid-1.0.1.tar.gz;tar -zxvvf urwid-1.0.1.tar.gz;cd urwid-1.0.1;python setup.py install
问题:unable to execute gcc: No such file or directory
解决:https://www.2cto.com/kf/201112/113177.html
yum list | grep gcc;sudo yum install -y gcc.x86_64
2.3speedometer安装
官网下载镜像文件(http://excess.org/speedometer/->https://github.com/wardi/speedometer)unzip speedometer-master.zip;cd speedometer-master;python setup.py install
或者wget -q http://excess.org/speedometer/speedometer-2.8.tar.gz;tar -zxvvf speedometer-2.8.tar.gz;cd speedometer-2.8;cp speedometer.py /usr/local/bin/speedometer;chown root: /usr/local/bin/speedometer;chmod 755 /usr/local/bin/speedometer
2.4.speedometer使用截图:
speedometer -tx eth0 -rx eth0
3.网络监控工具vnstat使用截图
3.其他网络监控工具参考文章:http://os.51cto.com/art/201404/435279.htm Linux服务器上监控网络带宽的18个常用命令