Using Speedtest to test speed under Linux

Source: Internet
Author: User

Speedtest is an open source software for testing network performance, and installing Speedtest under Linux can be used to test the speed of uploading and downloading of network exits to help troubleshoot network failures.

Speedtest Introduction

Because the company several project users to respond to the slow response time, the project itself is not a problem, the service and call the interface return information is more normal, conjecture is the network caused by bottlenecks, resulting in user requests when the network response congestion, lengthening the response time. is a relatively broad web site for testing broadband speeds, and's work is not complicated: it loads JavaScript code in your browser and automatically detects the server closest to you, and then sends HTTP to the server Get and post requests to test the uplink/downlink speed.

However, when there is no graphical desktop (for example, when you remotely log on to a server via the command line or use an operating system that does not have a graphical interface), flash-based, user-friendly will not work. Fortunately, 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.


GitHub Link: Official website:
Test the bandwidth of the local network exit, visit, click on the first page begin test, wait a few seconds, view the test results:

PIP Installation

Speedtest is written in Python, you need to install PIP before using Pip,

PIP Installation:

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

Installation Complete Test

which SPEEDTEST-CLI | bash–

GitHub Installation
Pip Install Git+


git clone speedtest-cli/ install
Shell Installation
Wget-o speedtest-cli Https:// +x Speedtest-cli./speedtest-cli

Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better:

Using Speedtest to test speed under Linux

Related Article

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: 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.