How to use iperf in Linux?
How to use iperf in Linux?
1. Install iperf.
yum install iperf
2. now start the iperf server.
[root@ftpserver ~]# iperf -s
[root@ftpserver ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local <Server IP> port 5001 connected with Client IP port 53936
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-12.4 sec 1.38 MBytes 927 Kbits/sec
3. Now connect the iperf server from iperf client.
[root@ftpclient ~]# iperf -c <Server IP>
------------------------------------------------------------
Client connecting to <Server IP>, TCP port 5001
TCP window size: 19.3 KByte (default)
------------------------------------------------------------
[ 3] local Client IP port 53936 connected with <Server IP> port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-11.5 sec 1.38 MBytes 1.00 Mbits/sec
[root@ftpclient ~]#
1. Install iperf.
yum install iperf
2. now start the iperf server.
[root@ftpserver ~]# iperf -s
[root@ftpserver ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local <Server IP> port 5001 connected with Client IP port 53936
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-12.4 sec 1.38 MBytes 927 Kbits/sec
3. Now connect the iperf server from iperf client.
[root@ftpclient ~]# iperf -c <Server IP>
------------------------------------------------------------
Client connecting to <Server IP>, TCP port 5001
TCP window size: 19.3 KByte (default)
------------------------------------------------------------
[ 3] local Client IP port 53936 connected with <Server IP> port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-11.5 sec 1.38 MBytes 1.00 Mbits/sec
[root@ftpclient ~]#
No comments