linux 回線

Measuring Internet Speed with Linux Commands

This article introduces how to measure internet speed (download/upload) from the command line on Linux PCs and servers. curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py…

Shou Arisaka
1 min read
Nov 3, 2025

This article introduces how to measure internet speed (download/upload) from the command line on Linux PCs and servers.

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -

command line - How to check Internet Speed via Terminal? - Ask Ubuntu

As a temporary measure until the fiber optic installation, I’m currently using Rakuten Mobile Super Hodai with unlimited capacity and speed restrictions, so I tested with this.

Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Love4Taylor (Tokyo) [0.96 km]: 129.08 ms
Testing download speed................................................................................ Download: 0.52 Mbit/s
Testing upload speed................................................................................................
Upload: 1.53 Mbit/s

It’s slow. Well, aside from frequent SSH connection drops and inability to use RDP, it’s not that painful.

Update

Re-verified after fiber optic installation.

Retrieving speedtest.net configuration...
Testing from ARTERIA Networks Corporation (122.xx.xx.xx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by SoftEther Corporation (Tsukuba) [197.02 km]: 14.408 ms
Testing download speed................................................................................
Download: 330.85 Mbit/s
Testing upload speed................................................................................................
Upload: 283.14 Mbit/s

Well, that’s about right.

Share this article

Shou Arisaka Nov 3, 2025

🔗 Copy Links