服务器带宽监测

1012人浏览 / 0人评论

一、使用speedtest

[root@sb ~]# wgethttps://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
[root@sb ~]# chmod +x speedtest.py 
[root@sb ~]# ./speedtest.py 
Retrieving speedtest.net configuration...
Testing from Tencent cloud computing (119.45.208.45)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Shandong Unicom 5G (Jinan) [361.63 km]: 19.32 ms
Testing download speed................................................................................
Download: 88.31 Mbit/s
Testing upload speed................................................................................................
Upload: 1.07 Mbit/s
 

下载速度为88M,上传速度为1M

二、iftop

yum install iftop -y

iftop

进行查看

三、 nmon

yum install nmon

nmom

按n

全部评论