最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
CentOS6.5中使用 iperf 检测主机间网络带宽
时间:2022-06-30 21:06:36 编辑:袖梨 来源:一聚教程网
背景介绍:
在调试网络时,经常需要检测两台主机间的最大带宽,我一直使用iperf命令,效果很好很准确,但发现有一些运维朋友并不知道有这个工具,于是打算写篇文章简单介绍一下。
具体操作:
操作系统:CentOS6.5 x86_64 Minimal
服务器:
192.168.10.11
192.168.10.12
[[email protected] ~]# yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
[[email protected] ~]# yum install iperf
[[email protected] ~]# yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
[[email protected] ~]# yum install iperf
[[email protected] ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
[[email protected] ~]# iperf -c 192.168.10.12
------------------------------------------------------------
Client connecting to 192.168.10.12, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.10.11 port 23351 connected with 192.168.10.12 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 744 MBytes 624 Mbits/sec
[[email protected] ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.10.12 port 5001 connected with 192.168.10.11 port 23351
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 744 MBytes 623 Mbits/sec
相关文章
- 远光84诺拉怎么玩 诺拉玩法介绍 08-20
- 纸嫁衣8第5章不离怎么过-纸嫁衣8千子树第五章超详细解谜攻略 08-20
- 远光84有什么模式 各模式玩法介绍 08-20
- 王国保卫战5火箭枪手塔技能是什么 火箭枪手塔技能介绍一览 08-20
- 植物大战僵尸融合版v2.2.1版本在哪下载-pvz融合版2.2.1版本下载地址分享 08-20
- 王国保卫战5防御塔哪些好用 防御塔强度排行 08-20