Thursday, April 25, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1585  / 1 Year ago, thu, may 11, 2023, 3:11:37

I'm looking for a way to document ever couple of minutes the download and upload speed the is supplied to me by the ISP.



There are many tools to show the current upload and download speed (that are being used) but I need to document what the ISP gives me (I suspect that I don't get the speed I pay for during the day).



I guess it would be measured against a specific URL I should supply.



Do you know any tool like that?


More From » internet-connection

 Answers
1

How about Tespeed. I was going to recommend for example tcptrack or nethogs but Tespeed is much better as a testing tool.



  1. Download from source: wget https://raw.github.com/Janhouse/tespeed/master/tespeed.py



  2. Give it executable permission: chmod +x tespeed.py



  3. Execute the file ./tespeed.py


    enter image description here




Now if you want to make it run every couple of minutes, you can include that in a cron job as a script or make a small script that you would run anytime you want to start monitoring your ISP. For example:


#!/bin/bash

#Time in Seconds
timer="60"
echo "Checking ISP for the TRUTH!!"
while [ $timer -gt 0 ]
do
echo "Check done at: `date`" >> timer.log
./tespeed.py 2>> timer.log
sleep $timer
echo "---------------------" >> timer.log
done

Save the above code in some file. For example a file called timer. Then give it executable permission like I mentioned above: chmod +x timer. Then simply execute the file to start checking you Download and Upload speed every X amount of seconds. The code is for 1 minute right now.


What the code does it run the tespeed.py file and output whatever it does to a file called timer.log. You can read this file anytime you want. It will show all checks done by tespeed since the moment you run the script and it will also show the time when the check was done.


[#32738] Friday, May 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inaterested

Total Points: 500
Total Questions: 104
Total Answers: 92

Location: Virgin Islands (U.S.)
Member since Fri, May 7, 2021
3 Years ago
inaterested questions
Fri, Aug 12, 22, 21:24, 2 Years ago
Wed, Apr 27, 22, 17:14, 2 Years ago
Tue, Oct 26, 21, 20:41, 3 Years ago
;