1、查看网络带宽
yum install iperf3 -y
iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.46.66, port 59398
[ 5] local 192.168.46.67 port 5201 connected to 192.168.46.66 port 59400
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 354 MBytes 2.97 Gbits/sec
[ 5] 1.00-2.00 sec 443 MBytes 3.72 Gbits/sec
[ 5] 2.00-3.00 sec 403 MBytes 3.38 Gbits/sec
[ 5] 3.00-4.00 sec 428 MBytes 3.59 Gbits/sec
[ 5] 4.00-5.00 sec 418 MBytes 3.51 Gbits/sec
[ 5] 5.00-6.00 sec 420 MBytes 3.52 Gbits/sec
[ 5] 6.00-7.00 sec 441 MBytes 3.70 Gbits/sec
[ 5] 7.00-8.01 sec 434 MBytes 3.60 Gbits/sec
[ 5] 8.01-9.00 sec 370 MBytes 3.14 Gbits/sec
[ 5] 9.00-10.00 sec 395 MBytes 3.31 Gbits/sec
[ 5] 10.00-10.03 sec 11.8 MBytes 3.61 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.03 sec 4.02 GBytes 3.45 Gbits/sec receiver
[root@dev ~]
Connecting to host 192.168.46.67, port 5201
[ 4] local 192.168.46.66 port 59400 connected to 192.168.46.67 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 364 MBytes 3.05 Gbits/sec 6 1.39 MBytes
[ 4] 1.00-2.00 sec 440 MBytes 3.69 Gbits/sec 0 1.60 MBytes
[ 4] 2.00-3.00 sec 410 MBytes 3.44 Gbits/sec 0 1.65 MBytes
[ 4] 3.00-4.00 sec 428 MBytes 3.59 Gbits/sec 0 1.82 MBytes
[ 4] 4.00-5.00 sec 419 MBytes 3.51 Gbits/sec 17 1.36 MBytes
[ 4] 5.00-6.00 sec 419 MBytes 3.51 Gbits/sec 0 1.44 MBytes
[ 4] 6.00-7.00 sec 442 MBytes 3.71 Gbits/sec 0 1.65 MBytes
[ 4] 7.00-8.00 sec 431 MBytes 3.62 Gbits/sec 0 1.82 MBytes
[ 4] 8.00-9.00 sec 372 MBytes 3.13 Gbits/sec 12 1.40 MBytes
[ 4] 9.00-10.00 sec 395 MBytes 3.31 Gbits/sec 0 1.54 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 4.02 GBytes 3.46 Gbits/sec 35 sender
[ 4] 0.00-10.00 sec 4.02 GBytes 3.45 Gbits/sec receiver
iperf Done.
2、查看当前网络传输量
yum install -y epel-release && yum install -y nload
nload ens33