Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2009, 06:46 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 16

Rep: Reputation: 0
ISP speed calculation

I am trying to write a program for my router that will calculate my broadband speed (DN/UP) periodically say every 6 hrs (total of 4/day) and display in the Router "WAN" page. Is there something already out there in Open Source forums (part of GPL etc)?
example: Start a timer, download a file (ftp?) of a known size, stop the timer and then used the time delta and file size to calculate the BW etc?
Any help/suggestion would be greatly appreciated! A sample code would be a great start!

Old 10-11-2009, 06:52 PM   #2
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,616

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
or you could just use one of the many free web pages out there that will do that for you. now it will not be automated, but meh it will give you the info you are seeking.

is what i use as they have a test location less then 8hr (drive time) from my house and it is more accurate then my ISPs speed testing page.
Old 10-11-2009, 08:20 PM   #3
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,487

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Use wget to download a file of known size and it shows the summary of time and speed after downloading.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
speed + for same isp please Linux - Networking 2 07-21-2009 05:13 AM
One Cable One Wifi isp how to combine for speed on fedora core 5 zonemikel Linux - Wireless Networking 6 08-16-2006 10:50 PM
home isp speed linuxhippy Slackware 2 09-01-2005 12:37 PM
intel 536EP random connection speed to ISP (<10% 45333 bps, mostly often slow 33000) Emmanuel_uk Linux - Newbie 10 05-16-2005 01:14 AM
Changing ISP, apt-get can not see new ISP proxy linx win Debian 0 01-05-2005 03:41 AM

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration