speedtest console Debian Ubuntu and CentOS

speedtest-cli is a fully open application to test our links, from the console, using a popular website speedtest.net. Use it to revise the servers available nearby, and during the test will be selected always the fastest. Once completed, you can test the results and can generate a URL to a page with a picture speedtest.net.

speedtest-cli needs to act Python Pip, the packet should be available on virtually any operating system. We will use the distribution Centos 7

Install package python-pip:

Centos7

yum install python-pip

Debian/Ubuntu:

apt-get install python-pip

Then instlaujemy package speedtest:

Centos:

pip install speedtest-cli

Debian/Ubuntu:

pip install speedtest-cli

If CentOS will return an error:

Successfully installed speedtest-cli-1.0.7
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Perform the upgrade command:

 pip install --upgrade pip

Whole should work without problems.

Speedtest we command:

speedtest

We should get the result:

[root@node ~]# speedtest
Retrieving speedtest.net configuration...
Testing from Hetzner Online GmbH (94.130.246.172)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Spacken.net (Hagen) [141.07 km]: 10.09 ms
Testing download speed................................................................................
Download: 142.42 Mbit/s
Testing upload speed................................................................................................
Upload: 65.65 Mbit/s

If we want to get the result we graphical command:

speedtest --share

We then obtain the result with a link:

speedtest --share
Retrieving speedtest.net configuration...
Testing from Hetzner Online GmbH (94.130.246.172)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Spacken.net (Hagen) [141.07 km]: 7.298 ms
Testing download speed................................................................................
Download: 128.33 Mbit/s
Testing upload speed................................................................................................
Upload: 66.53 Mbit/s
Share results: http://www.speedtest.net/result/7040605661.png

Graphic version is available at:

Share results: http://www.speedtest.net/result/7040605661.png

The result can be posted on the page or blog and presents itself as:

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu