Speedtest.net via command line

Cuando alquilas un nuevo servidor, hay muchas pruebas que realizar: algunas, a nivel hardware; otras, a nivel soft y, por ultimo, y no menos importantes, están las pruebas de conexión.

Para eso, en casa, normalmente usamos el archiconocido speedtest.net, pero no todos los servidores disponen de interfaz gráfica donde poder usar el navegador. Para eso, podemos usar el speedtest-cli.

Instalación en Debian

apt-get install python-pip
pip install speedtest-cli

Uso de la aplicación

speedtest-cli --share

Esto te devuelve la famosa imagen de speedtest, además de los resultados. Otros posibles comandos son:

usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]
                     [--server SERVER] [--mini MINI] [--source SOURCE]
                     [--version]

Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli

optional arguments:
  -h, --help       show this help message and exit
  --bytes          Display values in bytes instead of bits. Does not affect
                   the image generated by --share
  --share          Generate and provide a URL to the speedtest.net share
                   results image
  --simple         Suppress verbose output, only show basic information
  --list           Display a list of speedtest.net servers sorted by distance
  --server SERVER  Specify a server ID to test against
  --mini MINI      URL of the Speedtest Mini server
  --source SOURCE  Source IP address to bind to
  --version        Show the version number and exit

Autor del artículo Miguel Angel del Toro Medina

Y, ya sabéis, para cualquier consulta, podéis contactar conmigo a través del email info@madeltoro.es