Linux using Speedtest to test the speed __linux

Source: Internet
Author: User
Tags git clone
Speedtest is an open-source software for testing network performance, and installing Speedtest under Linux can be used to test the upload and download speeds of network exits and help troubleshoot network failures.

Speedtest Introduction

Due to the company several project users to visit when the response is slow, the project itself is not a problem, the service and call the interface return information is more normal, guess is the bottleneck caused by the network, resulting in user requests when the network response congestion, elongated response time.

Speedtest.net is a more extensive web site for testing broadband speeds, and Speedtest.net's work is not complicated: it loads JavaScript code in your browser and automatically detects your nearest Speedtest.net server, and then sends HTTP to the server Get and post requests to test uplink/downlink speed.

But in the absence of a graphical desktop (for example, when you remotely log on to the server via the command line or using an operating system without a graphical interface), the speedtest.net based on Flash, user-friendly will not work. Luckily, Speedtest.net provides a command-line version of--SPEEDTEST-CLI. Below I will show you how to test the broadband connection speed using SPEEDTEST-CLI on the Linux command line. Install SPEEDTEST-CLI

GitHub Link: https://github.com/sivel/speedtest-cli
Speendtest.net Official website: http://www.speedtest.net/
Test the bandwidth of the local network exit, visit speendtest.net, click Begin Test on the first page, wait a few seconds, and view the test results:

PIP Installation

Speedtest is written in Python, and the PIP needs to be installed before you use the PIP.

PIP Installation: https://pip.pypa.io/en/stable/installing/
#开启epel源

Yum Install Python-pip–y
Install SPEEDTEST-CLI
Pip Install Speedtest-cli

Install complete test

which SPEEDTEST-CLI | bash–

GitHub Installation

Pip Install Git+https://github.com/sivel/speedtest-cli.git

Or

git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py Install
Shell Installation
Wget-o speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x Speedtest-cli
./speedtest-cli
SPEEDTEST-CLI Use
Speedtest-cli–h
/usr/bin/speedtest-cli–share
/usr/bin/speedtest-cli–list

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.