Last change
on this file since 5881 was 4317, checked in by dirkx, 20 years ago |
Fixing line types
|
-
Property svn:eol-style
set to
native
|
File size:
391 bytes
|
Rev | Line | |
---|
[4283] | 1 | #!/bin/sh
|
---|
[4297] | 2 | echo "" > /tmp/tmp
|
---|
[4283] | 3 |
|
---|
[4297] | 4 | get_fetch() {
|
---|
| 5 | http_proxy="$1:$2"
|
---|
| 6 | export http_proxy
|
---|
| 7 | test=`fetch -T 10 -o /dev/null http://www.planet.nl 2>&1`
|
---|
| 8 | if [ $? = 0 ]; then
|
---|
| 9 | echo "`echo "$test" |grep kBps | \
|
---|
| 10 | sed 's/^.*(//' | awk '{print $1}'` $1" >> /tmp/tmp
|
---|
| 11 | fi
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | get_fetch proxy1.wleiden.net 3128
|
---|
| 15 | get_fetch proxy2.wleiden.net 3128
|
---|
| 16 | get_fetch proxy3.wleiden.net 3128
|
---|
| 17 |
|
---|
| 18 | sort -nr /tmp/tmp
|
---|
| 19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.