Find Jobs
Hire Freelancers

script to measure download speeds of different servers

$30-250 USD

Awarded
Posted almost 12 years ago

$30-250 USD

Paid on delivery
You can write this in either a Linux Shell Script, Perl, or PHP. I need a script to download a static file from several different servers and measure the download speed. The script should do the following: 1) read a config file in this format: (this must be in a separate file than the script itself) # specify an arbitrary number of friendly_name and IP pairs. The exact data structure you use doesn't matter. friendly_names_and_ips = [ ["name1", "[login to view URL]"], ["name2", "[login to view URL]"] ] # this URL is the same for all IPs url = "/some_path/[login to view URL]" 2) for each element in friendly_names_and_ips: (in sequence, not in parallel) - wget "http://$ip:80$url" - determine the average download speed in KB/s. For example, "wget [login to view URL]" shows: 2012-08-01 10:57:36 (91.0 KB/s) - `index.html.1' saved [13285] ---> save 91.0 3) output results in CSV format with these columns, one row per server: - current datetime (when printing the output, not when the test was run, might might have been a few seconds earlier, but that's OK) - friendly_name - IP - url - download_speed_in_kb_s Don't write the column names. Only write the data values. When I run this script, its only output should be something like this: 2012-08-01 12:12:12,name1,[login to view URL],/some_path/[login to view URL],91.0 2012-08-01 12:12:12,name2,[login to view URL],/some_path/[login to view URL],82.0 I'd like this completed within 24 hours of project start. It needs to run on Ubuntu 10.04 LTS. Test it on your own machine, I won't provide a test environment. Thank you for your time, I look forward to seeing your bid!
Project ID: 2367341

About the project

4 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $130 USD for this job
User Avatar
You can have it in a few hours. Please have a look at PM for details.
$50 USD in 0 day
5.0 (92 reviews)
6.7
6.7
User Avatar
Please check PM
$100 USD in 15 days
4.9 (69 reviews)
6.3
6.3
User Avatar
I can do it.
$250 USD in 2 days
5.0 (5 reviews)
4.4
4.4
User Avatar
I can develop that script for you in urgent basis!
$120 USD in 1 day
5.0 (1 review)
1.7
1.7

About the client

Flag of UNITED STATES
Newark, United States
5.0
52
Payment method verified
Member since Dec 31, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.