(Pardon the top-post.)
wget of Firefox is great (thank you mozilla.org for silently volunteering
to be my test site). I set this up in a script and can run it on demand -- it
appends the output to a logfile each time as well as displaying the results
as it runs. With a sleep of about 23 minutes (so it will skew through the
hour), I've got it set to run overnight. Should be interesting.
For those who are interested, here's the script (beware of long-line
folding in what follows -- everything within the single quotes (') is on a
single line in the script -- YMMV):
#!/bin/sh
echo
echo "(Appending to bandwidth.log)"
/bin/sh -c ' echo; echo
"========================================================================";
echo; date; echo; wget
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.10/Firefox%20Setup%201.0PR.exe;
rm -f Firefox*' 2>&1 | tee -a bandwidth.log
Thanks!
On Tuesday 14 September 2004 16:06, Jonathan Hohle wrote:
> if your just interested in bandwidth, you can download a decent sized
> file (couple MBs) with wget and save the output to a file.
>
> "wget -a filename" will append wget's normal output to a file, so
> when i downloaded firefox, it looked something like this:
>
> --18:02:30--
> http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.10/Firefox%20Setu
>p%201.0PR.exe => `Firefox%20Setup%201.0PR.exe.2'
> Resolving ftp.mozilla.org... done.
> Connecting to ftp.mozilla.org[207.200.85.49]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4,742,005 [application/octet-stream]
>
> 0K .......... .......... .......... .......... .......... 1% 118.48
> KB/s 50K .......... .......... .......... .......... .......... 2% 413.22
> KB/s 100K .......... .......... .......... .......... .......... 3%
> 427.35 KB/s ....
> 4500K .......... .......... .......... .......... .......... 98% 609.76
> KB/s 4550K .......... .......... .......... .......... .......... 99%
> 561.80 KB/s 4600K .......... .......... ..........
> 100% 656.69 KB/s
>
> 18:02:39 (563.57 KB/s) - `Firefox%20Setup%201.0PR.exe.2' saved
> [4742005/4742005]
>
> That info could easily be parsed and put into a DB or spreadsheet or
> something else.
>
> Jon
> <><
>
> On Tue, 14 Sep 2004 15:56:58 -0700, JD Austin <jd@twingeckos.com> wrote:
> > Ed Skinner wrote:
> > >I need something that will (via cron, etc.) run a bandwidth test and log
> > > the results. (Our ISP sucks but we need to document it.)
> > >I'm thinking something command-line, not GUI.
> > >Any suggestions?
> >
> > I wrote one several years ago when I had speed choice (now sprint
> > 'broadband' direct) for the very same reason.
> > It did a series of tests including downloading different size files and
> > pinging machines via cron.
> > The results including packet loss and other ping statistics were stored
> > in a mysql database.
> > The backend was a few perl scripts and the front end was in PHP.
> >
> > The PHP front end used GD to create graphs on the fly.
> > It was very effective in showing how their network sucked and why :)
> > I was getting packetloss as high as 40% and micro outtages constantly
> >
> > I don't think I have it around anymore but I could help you with the
> > design.
> >
> > JD
> >
> > --
> > JD Austin
> > Twin Geckos Technology Services LLC
> > email: jd@twingeckos.com
> > http://www.twingeckos.com
> > phone/fax: 480.344.2640
> >
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Ed Skinner,
ed@flat5.net,
http://www.flat5.net/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss