source: genesis/tools/pencontrl/pencontrl.sh@ 4283

Last change on this file since 4283 was 4283, checked in by dirk, 20 years ago

tools voor pen optimalisatie

File size: 364 bytes
Line 
1#!/bin/sh
2dir=/usr/local/etc/
3dbdir=/var/db
4echo > /tmp/proxytest
5for i in proxy1 proxy2 proxy3
6do
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
10done
11awk -f $dir/awkpencontrl /tmp/proxytest | sort -r -n >$dbdir/pensequence
12awk '{print $2 " "}' $dbdir/pensequence | tr -d "\n"
13
Note: See TracBrowser for help on using the repository browser.