vps交流

Linux检查网络常用命令


  1. # View public IP
  2. curl -s checkip.dyndns.org | sed ‘s#.Address: (.)</b.*#1#’
  3. wget -qO – icanhazip.com
  4. curl ifconfig.me
  5. curl ident.me
  6. dig +short myip.opendns.com @resolver1.opendns.com
  7. lynx -dump ifconfig.me | grep ‘IP Address’
  8. curl ipecho.net/plain
  9. curl bot.whatismyipaddress.com
  10. curl ipinfo.io
  11. curl ipogre.com
  12. Benchmarking
  13. wget dl.getipaddr.net/speedtest.sh -q -O- | bash
  14. curl -s dl.getipaddr.net/speedtest.sh -o- | bash
  15. wget https://raw.github.com/blackdotsh/curl-speedtest/master/speedtest.sh && chmod u+x speedtest.sh && bash speedtest.sh
  16. wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py && chmod +x speedtest-cli && ./speedtest-cli
  17. Download
  18. CacheFly (Canada):
  19. wget -O /dev/null http://cachecefly.cachefly.net/100mb.test ## SoftLayer (EE.UU. y Holanda):
  20. wget -O /dev/null http://speedtest.dal01.softlayer.com/downloads/test100.zip
  21. wget -O /dev/null http://speedtest.sea01.softlayer.com/downloads/test100.zip
  22. wget -O /dev/null http://speedtest.ams01.softlayer.com/downloads/test500.zip
  23. wget -O /dev/null http://50.23.64.58/downloads/test100.zip
  24. curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip
  25. curl -O http://speedtest.wdc01.softlayer.com/downloads/test10.zip > /dev/null
  26. wget –output-document=/dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip
  27. echo "scale=2; ‘curl –progress-bar -w "%{speed_download}" http://speedtest.wdc01.softlayer.com/downloads/test10.zip -o test.zip’ / 131072" | bc | xargs -I {} echo {}Mb/s
  28. Linode (EE.UU., Reino Unido y Japón):
  29. wget -O /dev/null http://speedtest.tokyo.linode.com/100MB-tokyo.bin
  30. wget -O /dev/null http://speedtest.london.linode.com/100MB-london.bin
  31. wget -O /dev/null http://speedtest.newark.linode.com/100MB-newark.bin
  32. wget -O /dev/null http://speedtest.atlanta.linode.com/100MB-atlanta.bin
  33. wget -O /dev/null http://speedtest.dallas.linode.com/100MB-dallas.bin
  34. wget -O /dev/null http://speedtest.fremont.linode.com/100MB-fremont.bin ## Leaseweb (EE.UU. y Holanda):
  35. wget -O /dev/null http://mirror.nl.leaseweb.net/speedtest/1000mb.bin
  36. wget -O /dev/null http://mirror.us.leaseweb.net/speedtest/1000mb.bin ## FDCServer (EE.UU.):
  37. wget -O /dev/null http://lg.denver.fdcservers.net/100MBtest.zip ## OVH (Francia):
  38. wget -O /dev/null http://proof.ovh.net/files/100Mb.dat
  39. Upload
  40. iperf3 -c iperf.scottlinux.com -u
  41. iperf3 -c iperf.volia.net -R -P 4
  42. iperf -c iperf.volia.net -r -P 4
  43. iperf -c s-network1.amcs.tld -P 1 -i 5 -p 5999 -f B -t 60 -T 1
  44. iperf -c iperf.acd.net -P 10 -t 240
  45. iperf -c ping.online.net -i 2 -t 20 -r
  46. bwctl -T iperf3 -f m -t 10 -i 1 -c ps.ncar.xsede.org
  47. iperf -c ping.online.net -i 5 -u -r
  48. iperf -c ping-90ms.online.net -i 5 -u -r
  49. iperf -c debit.k-net.fr -i 10 -T 100
  50. iperf -c speedtest.serverius.net
  51. iperf -c iperf.he.net

复制代码

这个好 绑定
赞(0)
版权声明:本贴采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
帖子名称:《Linux检查网络常用命令》
帖子链接:https://www.hostloc.xyz/239895.html