2015.07.25 Linux iperf Command detailed

Source: Internet
Author: User

Reference documents

Http://www.cnblogs.com/darkmatter/p/3605674.html

There is a tool called Iperf under Linux. You can test network performance. Also known as the bandwidth or throughput test, which is used to test the maximum transfer rate between the server and the client.

1. Command installation:

Yum Install Iperf

2. Command function:

Test Network performance

3. Command parameters:

-C followed by the server IP address,

-I represents the time interval for sending,

-F m indicates that the returned result is in MByte units

4. Usage examples:

Since it is network throughput, it certainly requires two machines, one server, and one client.

Server 113.57.219.52

Client 112.74.108.63

Two servers using Yum to install Iperf

Yum Install-y Iperf

Test

Service side

Iperf-s-U #upd协议. Default listener on port 5001

Client

Result client Bandwidth is 100M

[Email protected] ~]#  iperf  -u  -C  113.57.219.52  - b1000m------------------------------------------------------------Client connecting to 113.57.219.52, UDP port 5001Sending 1470 byte datagramsudp buffer size:  122 KByte (default)---------------------------------------------- --------------[  3] Local 112.74.108.63 port 50275 connected with 113.57.219.52 Port 5001[ID] Interval       transfer
    bandwidth[  3]  0.0-10.0 sec   860 MBytes   721 mbits/sec[  3] Sent 613458 datagrams[  3] Server report:[  3]  0.0-10.0 sec   MBytes  97.2 mbits/sec   0.134 Ms 530831/613456 (87%) [  3]  0.0-10.0 sec  944 Datagrams received out-of-order[[email protected] ~]#

2015.07.25 Linux iperf Command detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.