linux测速软件
2017-03-14安装linux服务器后,有时候需要检查带宽情况。
1、wget 链接,查看下载速度
2、安装speedtest-cli.py
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
curl -o speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
./speedtest.py
Retrieving speedtest.net configuration...
Testing from China Telecom (192.168.1.1)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Mobile Group Beijing Co.Ltd (Beijing) [1.69 km]: 27.306 ms
Testing download speed............................................
Download: 9.46 Mbit/s
Testing upload speed..............................
Upload: 7.57 Mbit/s
3、看网卡是千兆还是百兆
mii-tool
ethtool em1|grep Speed
Speed: 1000Mb/s
4、nmon 按n查看实时流量
5、iftop查看单个IP耗费的流量
yum -y install iftop
rpm -ivh http://rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/iftop-1.0-0.pre3.el5.rf.x86_64.rpm
6、iptraf是一个基于ncurses的IP局域网监控器
分类:Linux、操作系统 | 标签: |