first versions

This commit is contained in:
Grzegorz Surmann 2024-09-19 23:37:17 +00:00
commit 6bb9791690
10 changed files with 151 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
all: none
none:
@true
start:
@./all-all.sh || true
stop:
@./stop.sh || true

11
all-all.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
./centos-speed.sh
./debian-speed-v4.sh
./debian-speed-v6.sh
./freebsd-speed.sh
./speed-v4.sh
./speed-v6.sh

39
bigfiles.list Normal file
View File

@ -0,0 +1,39 @@
http://download.xs4all.nl/test/10GB.bin
http://fra.download.datapacket.com/10000mb.bin
http://ftp.iinet.net.au/test500MB.dat
http://lg-tor.fdcservers.net/10GBtest.zip
http://lg.ams2-c.fdcservers.net/10GBtest.zip
http://lg.chi2-c.fdcservers.net/10GBtest.zip
http://lg.den2-c.fdcservers.net/10GBtest.zip
http://lg.fra2-c.fdcservers.net/10GBtest.zip
http://lg.la2-c.fdcservers.net/10GBtest.zip
http://lg.lon-c.fdcservers.net/10GBtest.zip
http://lg.mad-c.fdcservers.net/10GBtest.zip
http://lg.mia-c.fdcservers.net/10GBtest.zip
http://lg.ny-z.fdcservers.net/10GBtest.zip
http://lg.par-c.fdcservers.net/10GBtest.zip
http://lg.sea-z.fdcservers.net/10GBtest.zip
http://lg.vie-c.fdcservers.net/10GBtest.zip
http://mirror.filearena.net/pub/speed/SpeedTest_2048MB.dat
http://mirror.i3d.net/10000mb.bin
http://mirror.nl.leaseweb.net/speedtest/10000mb.bin
http://mirror.us.leaseweb.net/speedtest/10000mb.bin
http://mirror.widexs.nl/ftp/pub/speed/10000mb.bin
http://mirrors-lax.webnx.com/test/10gb.bin
http://nl.altushost.com/10gb.test
http://ping-ams1.online.net/10000Mo.dat
http://ping6.online.net/10000Mo.dat
http://proof.ovh.ca/files/10Gio.dat
http://proof.ovh.net/files/10Gio.dat
http://qrzcq.me/test/10GB_random.bin
http://repos.lax-noc.com/speedtests/100gb.bin
http://repos.mia.lax-noc.com/speedtests/100gb.bin
http://speed.hetzner.de/10GB.bin
http://speedtest.belwue.net/100G
http://speedtest.belwue.net/10G
http://speedtest.serverius.net/files/10000mb.bin
http://speedtest.sjc01.softlayer.com/downloads/test10000.zip
http://speedtest.tele2.net/100GB.zip
http://speedtest.tele2.net/10GB.zip
http://speedtest.wdc01.softlayer.com/downloads/test10000.zip
http://www.ovh.net/files/10Gio.dat

14
centos-speed.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
URLs=`wget "https://mirrormanager.fedoraproject.org/mirrors/CentOS" -O - -o /dev/null | grep http | grep -v https | grep centos | grep href | sed 's/^.*"http/http/g;s/">.*//g' | xargs`
for url in $URLs
do
for i in `seq 1 2`
do
wget -O /dev/null -o /dev/null -4 -b ${url}/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso
wget -O /dev/null -o /dev/null -6 -b ${url}/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso
done
done

14
debian-speed-v4.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
CTYS="am at au be bg br by ca ch cl cn cn cz de de dk ee es fi fr gr hk hr hu is it jp kr lt md nc nl no nz pl pt ru se si sk sv tr tw uk us"
for cty in ${CTYS}
do
for i in `seq 1 1`
do
wget -O /dev/null -o /dev/null -4 -b http://ftp.${cty}.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.7.0-amd64-DVD-1.iso
done
done

14
debian-speed-v6.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
CTYS="am at au be bg br by ca ch cl cn cn cz de de dk ee es fi fr gr hk hr hu is it jp kr lt md nc nl no nz pl pt ru se si sk sv tr tw uk us"
for cty in ${CTYS}
do
for i in `seq 1 1`
do
wget -O /dev/null -o /dev/null -6 -b http://ftp.${cty}.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.7.0-amd64-DVD-1.iso
done
done

15
freebsd-speed.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
CTYS="am at au be bg br by ca ch cl cn cn cz de de dk ee es fi fr gr hk hr hu is it jp kr lt md nc nl no nz pl pt ru se si sk sv tr tw uk us"
for cty in ${CTYS}
do
for i in `seq 1 2`
do
wget -O /dev/null -o /dev/null -4 -b http://ftp${i}.${cty}.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/14.0/FreeBSD-14.0-RELEASE-amd64-dvd1.iso
wget -O /dev/null -o /dev/null -6 -b http://ftp${i}.${cty}.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/14.0/FreeBSD-14.0-RELEASE-amd64-dvd1.iso
done
done

14
speed-v4.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
URLS=$(cat bigfiles.list)
for url in $URLS
do
for i in `seq 1 1`
do
wget -O /dev/null -o /dev/null -4 -b $url
done
done

14
speed-v6.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
URLS=$(cat bigfiles.list)
for url in $URLS
do
for i in `seq 1 1`
do
wget -O /dev/null -o /dev/null -6 -b $url
done
done

6
stop.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
killall -9 -v wget