linux 網絡帶寬和延時測試
阿新 • • 發佈:2019-02-14
XML -c ces lang hat 復制 步驟 target 參考
另外一個作為qperf的客戶端:
Linux下使用qperf命令來測試網絡帶寬和網絡延遲
參考文章:
https://access.redhat.com/solutions/2122681
若是沒有安裝qperf命令,請使用yum 安裝該命令即可.
測試步驟:
找兩個機器,一個作為qperf的服務器端,(服務器ip地址是192.168.80.50)
如下:
- [root@localhost ~]# qperf
- ------>>>>>系統會一直停在這個地方.
另外一個作為qperf的客戶端:
- [root@localhost ~]# qperf -t 60 --use_bits_per_sec 192.168.80.50 tcp_bw
- tcp_bw:
- bw = 1.15 Gb/sec --------->>>這就是網絡帶寬
- [root@localhost ~]#
- [root@localhost ~]# qperf -t 60 --use_bits_per_sec 192.168.80.50 tcp_lat
- tcp_lat:
- latency = 190 us --------->>>這就是網絡延遲
- [root@localhost ~]# qperf -t 60 --use_bits_per_sec 192.168.80.50 tcp_bw tcp_lat
- tcp_bw:
- bw = 1.58 Gb/sec--------->>>這就是網絡帶寬
- tcp_lat:
- latency = 186 us--------->>>這就是網絡延遲
- [root@localhost ~]#
linux 網絡帶寬和延時測試