Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm familiar with manual internet speed testing using sites like I'd like to set something up to automatically run a speed test once per hour 24x7 (for example) on a Windows machine.

Any advice on a tool/approach to do this?

EDIT: Specifically, I'm looking to obtain the same measurements provided with (ping test and bandwidth test) but in an automated fashion I can run in the background.

share|improve this question
Are you looking to test speed or bandwidth? measures bandwidth and rudimentary latency, it is by no means a gauge of speed. Honestly, mtr is a really good tool to check latency and loss at all hops over an extended period of time. It isn't the most sophisticated method, but it can tell you enough. If you could be more specific as to what you want to capture, then I'm sure we can be more helpful at suggesting a specific tool or method. – MaQleod Jun 2 '13 at 1:54
I'm looking to get the same measurements gives but in an automated fashion I can run in the background periodically. – Nerdtron Jun 2 '13 at 2:31
updated the question; hopefully its clearer now. – Nerdtron Jun 2 '13 at 2:45
ping using .1 interval and 1000 count and standard iperf should get you what you need. Setup a server elsewhere (for iperf) and loop them in a bash script with output directed at a log file somewhere. – MaQleod Jun 2 '13 at 5:19
I'd like to avoid having to setup my own server -- I was hoping there was some automated way to test against one of the existing servers ( for example). – Nerdtron Jun 2 '13 at 11:44

Command line interface for testing internet bandwidth using

speedtest-cli works with Python 2.4-3.4

wget -O speedtest-cli

chmod +x speedtest-cli

$ speedtest-cli -h<br>
usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]<br>
                     [--server SERVER] [--mini MINI] [--source SOURCE]<br>

optional arguments:

  -h, --help       show this help message and exit<br>
  --bytes          Display values in bytes instead of bits. Does not affect<br>
                   the image generated by --share<br>
  --share          Generate and provide a URL to the share<br>
                   results image<br>
  --simple         Suppress verbose output, only show basic information<br>
  --list           Display a list of servers sorted by distance<br>
  --server SERVER  Specify a server ID to test against<br>
  --mini MINI      URL of the Speedtest Mini server<br>
  --source SOURCE  Source IP address to bind to<br>
  --version        Show the version number and exit<br>
share|improve this answer
wow! that looks really nice, I'll give that a try. – Nerdtron Oct 3 '14 at 3:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .