All Projects → zpeters → Speedtest

zpeters / Speedtest

Licence: other
Command line client for speedtest.net written in Go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Speedtest

speed-cloudflare-cli
📈 Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (-72.58%)
Mutual labels:  download, speedtest, speed
Ctop
Top-like interface for container metrics
Stars: ✭ 12,188 (+3276.18%)
Mutual labels:  command-line, monitoring
Sampler
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Stars: ✭ 9,203 (+2449.31%)
Mutual labels:  command-line, monitoring
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+3804.71%)
Mutual labels:  command-line, monitoring
Pm2
Node.js Production Process Manager with a built-in Load Balancer.
Stars: ✭ 36,126 (+9907.2%)
Mutual labels:  command-line, monitoring
Flickr Set Get
A simple command line app to download photos from a flickr set
Stars: ✭ 57 (-84.21%)
Mutual labels:  command-line, download
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+706.65%)
Mutual labels:  command-line, monitoring
Librenms
Community-based GPL-licensed network monitoring system
Stars: ✭ 2,567 (+611.08%)
Mutual labels:  network, monitoring
Saldl
A lightweight well-featured CLI downloader optimized for speed and early preview.
Stars: ✭ 203 (-43.77%)
Mutual labels:  command-line, download
Homebox
A Toolbox for Home Local Networks
Stars: ✭ 78 (-78.39%)
Mutual labels:  speedtest, network
Speedtest Go
CLI and Go API to Test Internet Speed using speedtest.net
Stars: ✭ 128 (-64.54%)
Mutual labels:  speedtest, network
Chameleon
Customizable honeypots for monitoring network traffic, bots activities and username\password credentials (DNS, HTTP Proxy, HTTP, HTTPS, SSH, POP3, IMAP, STMP, RDP, VNC, SMB, SOCKS5, Redis, TELNET, Postgres and MySQL)
Stars: ✭ 230 (-36.29%)
Mutual labels:  network, monitoring
Sjnetwork
SJNetwork is a high level network request tool based on AFNetworking and inspired on YTKNetwork.
Stars: ✭ 231 (-36.01%)
Mutual labels:  network, download
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-79.78%)
Mutual labels:  command-line, download
Deadman
deadman is a curses-based host status checking application using ping
Stars: ✭ 214 (-40.72%)
Mutual labels:  network, monitoring
Joincap
Merge multiple pcap files together, gracefully.
Stars: ✭ 159 (-55.96%)
Mutual labels:  command-line, network
Nload
Real-time network traffic monitor
Stars: ✭ 121 (-66.48%)
Mutual labels:  network, monitoring
Tiercel
简单易用、功能丰富的纯 Swift 下载框架
Stars: ✭ 2,241 (+520.78%)
Mutual labels:  network, download
Gpustat
📊 A simple command-line utility for querying and monitoring GPU status
Stars: ✭ 2,662 (+637.4%)
Mutual labels:  command-line, monitoring
Daisynet
1. - Alamofire与Cache封装 , 更容易存储请求数据. 2. - 封装Alamofire下载,使用更方便
Stars: ✭ 331 (-8.31%)
Mutual labels:  network, download

2019 Update

I don't have a lot of time to work on this code anymore. I may post updates from time to time, but at the moment this software is mostly abandonded. I am working on a Rust implementation and will post more details here in the future. See https://github.com/zpeters/speedtestr

Thank you for all of the fun and support over the years.

-zach

VERSION 2.0 Testing

Initial testing release of v2.0 is out for the testing. See "releases" for downloads. The current "test" is hard coded and there are no options at the moment. Please send me any feedback at [email protected] or through the issues.

The Unofficial Speedtest CLI

The Unofficial Speedtest CLI is a command-line program to test bandwidth in situations where you don't have access to a full GUI environment and web browser.

In 2013 I was feeling guilty about using Open Source software for most of my life without giving anything back in return. I decided to create this project to my part to help the IT community.

A lot of the initial algorithms here are based on different scripts I found when I was studying how speedtest.net works. Mainly, @sivel's speedtest-cli, thanks for your work!

master branch Go Report Card Github All Releases Build Status GoDoc

development branch Build Status

Sparkline

License

Licensed under GPLv3 (See COPYING and LICENSE)

Download

Build

See Build Instructions

Bugs, Features and Contributing

See github issues tracker - https://github.com/zpeters/speedtest/issues

Usage

speedtest.exe -- normal run, will automatically select the closests/fastest server to test against

$ bin/speedtest.exe 
Finding fastest server..
1752 | 5NINES (Madison, WI, United States)
Testing download speed......
Testing upload speed......
Ping: 53.613233ms | Download: 13.34 Mbps | Upload: 3.89 Mbps

speedtest.exe -l -- List servers

$ bin/speedtest.exe -l
1724 | CityNet (Zaporizhzhya, Ukraine)
2966 | FUSION MEDIA Kft. (Budapest, Hungary)
3634 | Paul Bunyan Communications (Bemidji, MN, United States
...

speedtest.exe -s 1724 -- Run against a specific server

$ bin/speedtest.exe -s 1724
1724 | CityNet (Zaporizhzhya, Ukraine)
Testing latency...
Testing download speed......
Testing upload speed......
Ping: 982.913566ms | Download: 0.91 Mbps | Upload: 1.25 Mbps

speedtest.exe -b 1234 -b 5678 -- Run the test blacklisting servers 1234 and 5678 speedtest.exe -r -- Runs speedtest in "reporting" mode (useful for Labtec, Excel spreadsheets, etc) speedtest.exe -r -rc="," -- Use a different separator (default is '|') Report Fields: Server ID, Server Name (Location), Ping time in ms, Download speed in kbps, Upload speed in kbps

1752|5NINES(Madison, WI,United States)|36.18|19452|4053
COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --algo value, -a value          Specify the measurement method to use ('max', 'avg')
   --debug, -d                     Turn on debugging
   --list, -l                      List available servers
   --update, -u                    Check for a new version of speedtest
   --ping, -p                      Ping only mode
   --quiet, -q                     Quiet mode
   --report, -r                    Reporting mode output, minimal output with '|' for separators, use '--rc'
                                     to change separator characters. Reports the following: Server ID,
                                     Server Name (Location), Ping time in ms, Download speed in kbps, Upload speed in kbps
   --downloadonly, --do            Only perform download test
   --uploadonly, --uo              Only perform upload test
   --reportchar value, --rc value  Set the report separator. Example: --rc=','
   --server value, -s value        Use a specific server
   --blacklist value, -b value     Blacklist a server.  Use this multiple times for more than one server
   --mini value, -m value          URL of speedtest mini server
   --useragent value, --ua value   Specify a useragent string
   --numclosest value, --nc value  Number of 'closest' servers to find (default: 3)
   --httptimeout value, -t value   Timeout (seconds) for http connections (default: 15)
   --numlatency value, --nl value  Number of latency tests to perform (default: 5)
   --interface value, -I value     Source IP address or name of an interface
   --help, -h                      show help
   --version, -v                   print the version

Thank You

  • Jacob McDonald - jmc734 - Cleaned up printing and formatting. Added parameter passing to run.sh - https://github.com/zpeters/speedtest/pull/4
  • Cory Lievers - Testing and feedback. Suggestions for formatting to make this more useful for labtec - https://github.com/zpeters/speedtest/issues/9
  • Paul Baker (Network Manager - BMS Telecorp) - Located a bug in the speedtest.net server list generation and found the correct 'static' url
  • Graham Roach (Contact Info?) - Extensive user testing to help determine issues with latency and accuracy of upload and download speeds - #11 (and others)
  • @larray - slightly obscure issues with http caches interfering with test results - #20
  • Noric - reporting and help with testing issues with report formatting - #32
  • @jannson - submitting patch to reduce memory usage on download test - #37
  • @vendion - teaching me how to import packages the corret way - #67
  • @invalid-email-address - various formatting
  • @l2dy - cleaned up README and broken links
  • @m01 - speed test mini support
  • @pra85 - fixed types in README
  • @schweikert - for adding the interface selection code

Why don't my speeds match those reported from the speedtest.net website?

The calculation that is used for testing download speeds is literally measuring the amount of data we are downloading (we request a "random" image and count how many bytes are received) and how long it takes to download. We multiply by the correct factors to get from bytes to megabits. I consider this to be an honest and accurate measurement.

In speedtest.net's reference documentation they describe doing a lot of manipulation to the results to return an "ideal" measurement (https://support.speedtest.net/entries/20862782-How-does-the-test-itself-work-How-is-the-result-calculated-). This, to me, is trading accuracy for speed and not what I'm looking for out of a testing tool.

For confirmation that my download calculations are correct I have tested against a few other speed testing sites, specifically http://testmy.net ("What makes TestMy.net better") who appear to use an "unfiltered" method of calculating bandwidth speeds. These results typically match up with speedtest.net cli

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].