0
0
0xC0CAC01A2014-06-02 18:50:02
linux
0xC0CAC01A, 2014-06-02 18:50:02

Analogue of speedtest.net, testing constantly

We are looking for a tool that measures the speed (like speedtest.net) not once, but periodically, say, every five minutes and keeps a log. Under web or linux.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Zhivotnev, 2014-06-03
@inkvizitor68sl

curl -o /usr/bin/speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x /usr/bin/speedtest-cli

Next we write the script:
#!/bin/bash
log_file="/var/log/speedtest.log"
date >> ${log_file}
/usr/bin/speedtest-cli --simple >> ${log_file}
echo -e "\n\n" >> ${log_file}

We make the script executable, put it in /etc/crontab.
Well, the speedtest-cli options are worth reading, there are a lot of useful things. The same --server, for example.

T
throughtheether, 2014-06-02
@throughtheether

iperf + bash wrapping as an option (requires server to install iperf counterpart)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question