Skip to content

Instantly share code, notes, and snippets.

@raulmoyareyes
Last active December 25, 2023 20:28
Show Gist options
  • Star 42 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save raulmoyareyes/34cbd643e2c93be64746 to your computer and use it in GitHub Desktop.
Save raulmoyareyes/34cbd643e2c93be64746 to your computer and use it in GitHub Desktop.
Linux command to check Internet connection speed.

# View public IP

  • curl -s checkip.dyndns.org | sed 's#.Address: (.)</b.*#\1#'
  • wget -qO - icanhazip.com
  • curl ifconfig.me
  • curl ident.me
  • dig +short myip.opendns.com @resolver1.opendns.com
  • lynx -dump ifconfig.me | grep 'IP Address'
  • curl ipecho.net/plain
  • curl bot.whatismyipaddress.com
  • curl ipinfo.io
  • curl ipogre.com

Benchmarking

Download

CacheFly (Canada):

Linode (EE.UU., Reino Unido y Japón):

Upload

  • iperf3 -c iperf.scottlinux.com -u
  • iperf3 -c iperf.volia.net -R -P 4
  • iperf -c iperf.volia.net -r -P 4
  • iperf -c s-network1.amcs.tld -P 1 -i 5 -p 5999 -f B -t 60 -T 1
  • iperf -c iperf.acd.net -P 10 -t 240
  • iperf -c ping.online.net -i 2 -t 20 -r
  • bwctl -T iperf3 -f m -t 10 -i 1 -c ps.ncar.xsede.org
  • iperf -c ping.online.net -i 5 -u -r
  • iperf -c ping-90ms.online.net -i 5 -u -r
  • iperf -c debit.k-net.fr -i 10 -T 100
  • iperf -c speedtest.serverius.net
  • iperf -c iperf.he.net
@rsvp
Copy link

rsvp commented Mar 7, 2017

Good news : get internet speed from your command line...

Work has shifted to using the infrastructure of speedtest.net and fast.com --
again made easily accessible by Bash shell scripts for all POSIX and Linux systems.
Please visit https://git.io/speed to obtain the code. PR are welcomed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment