LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
ISP speed calculation


Hello
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!

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

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
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.

http://www.speakeasy.net/speedtest/

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
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,053

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

jlinkels
 
  


Reply


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:13 AM.

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