User Tools

Site Tools


test_de_velocidad_de_internet_desde_terminal

Test de velocidad de Internet desde la Terminal con speedtest-cli (Python)

Web del proyecto: https://github.com/sivel/speedtest-cli

Ejemplo de uso y salida del programa.

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
./speedtest-cli 
 
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Deutsche Telekom AG (93.223.70.241)...
Selecting best server based on latency...
Hosted by iWelt AG (Eibelstadt) [7.32 km]: 45.205 ms
Testing download speed........................................
Download: 480.79 Mbits/s
Testing upload speed..................................................
Upload: 320.09 Mbits/s

Obtener la IPv4 / IPv6 pública desde la terminal con Curl

Dirección IPv4 / IPv6.

curl http://ipv4.icanhazip.com http://ipv6.icanhazip.com 
 
99.247.108.100
1001:16b8:20ee:c200:468a:5bff:fe24:c021

Traceroute IPv4 / IPv6.

curl http://ipv4.icanhaztrace.com http://ipv6.icanhaztrace.com
traceroute to 99.247.108.100 (89.247.108.100), 30 hops max, 60 byte packets
 2  147.75.36.46  17.849 ms
 3  198.16.4.84  0.401 ms
 4  198.16.4.80  0.480 ms
 5  *
 6  213.248.96.26  1.219 ms
 7  80.91.254.37  1.857 ms
 8  62.115.125.62  1.010 ms
 9  213.155.135.4  96.888 ms
10  62.115.141.241  93.594 ms
11  62.115.121.7  97.895 ms
12  213.155.129.189  85.460 ms
13  62.214.38.59  85.347 ms
14  99.247.108.100  108.802 ms !X
 
traceroute to 1001:16b8:20ee:c200:468a:5bff:fe24:c021 (1001:16b8:20ee:c200:468a:5bff:fe24:c021), 30 hops max, 80 byte packets
 2  2604:1380:2:85::  3.333 ms
 3  2604:1380:2:5::1  17.792 ms
 4  2604:1380:2:1::1  2.008 ms
 5  2607:f4e8:1:110::96  0.973 ms
 6  2607:f4e8:300:3::1  103.435 ms
 7  2607:f4e8:300:3::1  103.443 ms
 8  2001:7f8::22b1:193:80  108.036 ms
 9  2001:1438:0:1::4:42  108.490 ms
10  1001:16b8:2103:2bee:2665:11ff:febc:e121  120.727 ms !X

Registro PTR de la dirección IPv4 / IPv6.

curl http://ipv4.icanhazptr.com http://ipv6.icanhazptr.com
 
152F76C64.versanet.de
100116b820eec200468a5bfffe24c021.dip.versatel-1u1.de
test_de_velocidad_de_internet_desde_terminal.txt · Last modified: 2020/12/25 22:57 by 127.0.0.1