source:
genesis/tools/pencontrl/pencontrl.sh@
4283
Last change on this file since 4283 was 4283, checked in by , 20 years ago | |
---|---|
File size: 364 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | dir=/usr/local/etc/ |
3 | dbdir=/var/db |
4 | echo > /tmp/proxytest |
5 | for i in proxy1 proxy2 proxy3 |
6 | do |
7 | http_proxy=http://$i.wleiden.net:3128/ |
8 | echo $i >> /tmp/proxytest |
9 | wget -t 1 -T 100 -O /dev/null www.planet.nl 2>>/tmp/proxytest |
10 | done |
11 | awk -f $dir/awkpencontrl /tmp/proxytest | sort -r -n >$dbdir/pensequence |
12 | awk '{print $2 " "}' $dbdir/pensequence | tr -d "\n" |
13 |
Note:
See TracBrowser
for help on using the repository browser.