From 3ddc23d135c98e371353a72c31a181e04a05c02b Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 20 Oct 2011 09:23:52 -0400 Subject: [PATCH] Script downloaded from ossguy to test bandwidth. --- Bandwidth-Testing/hosts | 18 ++++++++++++++++++ Bandwidth-Testing/ping_trace_all.sh | 15 +++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Bandwidth-Testing/hosts create mode 100755 Bandwidth-Testing/ping_trace_all.sh diff --git a/Bandwidth-Testing/hosts b/Bandwidth-Testing/hosts new file mode 100644 index 0000000..96ae4b3 --- /dev/null +++ b/Bandwidth-Testing/hosts @@ -0,0 +1,18 @@ +1222.ath.cx +64.15.152.44 +apinc.org +astoria36.dyndns.org +bbc.co.uk +cityofperth.wa.gov.au +durban.kzn.org.za +dyzchyd.dyndns.org +fsf.org +mirror.cc.columbia.edu +oaks.barrettara.com +ossguy.com +apache2-rank.blade.dreamhost.com +blade.dreamhost.com +pocketmatrix.com +polarmobile.com +taurine.csclub.uwaterloo.ca +ubc.ca diff --git a/Bandwidth-Testing/ping_trace_all.sh b/Bandwidth-Testing/ping_trace_all.sh new file mode 100755 index 0000000..e8b4cd5 --- /dev/null +++ b/Bandwidth-Testing/ping_trace_all.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# Written by Denver Gingerich, downloaded from: +# wget http://ossguy.com/bandwidth/ping_trace_all.sh +# Denver told me: +# and I license it to you CC0 + +for host in `cat ../bin/hosts` +do + echo tracepath $host... + echo \$ tracepath $host > tracepath_$host + tracepath $host >> tracepath_$host + echo ping $host... + echo \$ ping -c10 $host > ping_$host + ping -c10 $host >> ping_$host +done