Skip to content

Commit 21b7e9a

Browse files
committed
resolved #88 : speedtest
1 parent a597e4e commit 21b7e9a

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: "Check Internet connection speed"
3+
date: 2023-08-08
4+
---
5+
6+
Sometimes it is necessary to check the Internet connection speed from the server console.
7+
8+
## Install
9+
10+
Download and install command line tool for testing internet bandwidth using speedtest.net
11+
12+
```sh
13+
sudo curl -Lo /usr/bin/speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
14+
sudo chmod +x /usr/bin/speedtest-cli
15+
```
16+
17+
## Launch
18+
19+
To start test launch in console:
20+
21+
```sh
22+
speedtest-cli
23+
```
24+
25+
Result will be printed in console:
26+
27+
```
28+
Retrieving speedtest.net configuration...
29+
Testing from Elisa telecommunications group, OU. (76.40.44.19)...
30+
Retrieving speedtest.net server list...
31+
Retrieving information for the selected server...
32+
Hosted by Compic OU (Tallinn, Estonia) [16.84 km]: 28.77 ms
33+
Testing download speed.........................
34+
Download: 93.30 Mbit/s
35+
Testing upload speed..........................
36+
Upload: 92.25 Mbit/s
37+
```
38+
39+
## Select server
40+
41+
You may list available servers with command:
42+
43+
```sh
44+
speedtest-cli --list
45+
```
46+
47+
Example output:
48+
49+
```
50+
1437) Telia Lietuva, AB (Kaunas, Lithuania) [506.33 km]
51+
16248) Litnet (Kaunas, Lithuania) [506.33 km]
52+
```
53+
54+
Now you may launch speedtest with custom server:
55+
56+
```sh
57+
speedtest-cli --server 16248
58+
```

0 commit comments

Comments
 (0)