έλεγχος για το ποιο γρηγορο καθρεφτη

Απάντηση
Άβαταρ μέλους
airmaik
Δημοσιεύσεις: 670
Εγγραφή: Τρί Ιουν 07, 2011 16:44 pm
Been thanked: 2 φορές

έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από airmaik » Σάβ Ιαν 04, 2014 10:45 am

υπάρχει κάποια εντολή ώστε να δεις ποιος είναι ο ποιο γρήγορος καθρέφτης για να κατεβάζεις τα πακέτα
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)

Άβαταρ μέλους
dglent
Δημοσιεύσεις: 1002
Εγγραφή: Τετ Ιουν 01, 2011 05:42 am
Τοποθεσία: Γαλλία
Has thanked: 4 φορές

Re: έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από dglent » Σάβ Ιαν 04, 2014 16:54 pm

Τροποποίησα λίγο αυτό:
http://ubuntuforums.org/showthread.php?t=251398

Πήρα τη λίστα από εδώ:
http://mirrors.mageia.org/distrib?versi ... rch=x86_64

Εκτέλεσε το παρακάτω script και θα σου εμφανίσει τη λίστα ταξινομημένη κατά ταχύτητα

Κώδικας: Επιλογή όλων

#!/bin/bash

# mirror_test.sh
# This script tests a list of ubuntu mirrors for speed
#
# I never could find anything in  Ubuntu to automatically test and setup  mirrors.
# There might  be something  already there,  but I  decided to  write this  little
# script for myself.  Hope you enjoy.
#
# @TODO Automatically pull mirror list from https://wiki.ubuntu.com/Archive
# @TODO Write resuts to /etc/apt/sources.list
# @TODO Add command line parsing for above options
#
# @AUTHOR Lance Rushing <lance_rushing@hotmail.com>
# @SINCE 9/1/2006
# This script is covered under the GNU Public License: http://www.gnu.org/licenses/gpl.txt


## get list from: https://wiki.ubuntu.com/Archive

# http://mirrors.mageia.org/distrib?version=cauldron&arch=x86_64
MIRRORS="ftp://ftp.itb.ac.id/pub/mageia/distrib/cauldron/x86_64
 http://mirror.netcologne.de/mageia/distrib/cauldron/x86_64
 ftp://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64
 rsync://mageia.c3sl.ufpr.br/mageia/distrib/cauldron/x86_64
 ftp://mageia.mirror.dkm.cz/pub/mageia/distrib/cauldron/x86_64
 rsync://ftp.snt.utwente.nl/mageia/distrib/cauldron/x86_64
 http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64
 http://mageia.xfree.com.ar/distrib/cauldron/x86_64
 http://mageia.mirror.dkm.cz/pub/mageia/distrib/cauldron/x86_64
 http://linuxfreedom.com/mageia/distrib/cauldron/x86_64
 http://mageia.unige.ch/mirror/distrib/cauldron/x86_64
 rsync://ftp.fi.muni.cz/pub/linux/mageia/distrib/cauldron/x86_64
 ftp://free.nchc.org.tw/mageia/distrib/cauldron/x86_64
 http://mageia.webconquest.com/distrib/cauldron/x86_64
 ftp://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64
 rsync://ftp.yz.yamagata-u.ac.jp/pub/linux/mageia/distrib/cauldron/x86_64
 rsync://distro.ibiblio.org/mageia/distrib/cauldron/x86_64
 http://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/mageia/distrib/cauldron/x86_64
 http://ftp.yz.yamagata-u.ac.jp/pub/linux/mageia/distrib/cauldron/x86_64
 rsync://mageia.nautile.nc/mageia/distrib/cauldron/x86_64
 ftp://mirror2.tuxinator.org/mageia/distrib/cauldron/x86_64
 ftp://ftp.belnet.be/mirror/mageia/distrib/cauldron/x86_64
 http://mirrors.yun-idc.com/mageia/distrib/cauldron/x86_64
 ftp://mirrors.kernel.org/mageia/distrib/cauldron/x86_64
 http://www.quicklynet.com/mageia/distrib/cauldron/x86_64
 ftp://ftp.sun.ac.za/pub/mirrors/mageia/distrib/cauldron/x86_64
 http://the2013.bugs3.com/distrib/cauldron/x86_64
 rsync://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/x86_64
 http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64
 http://fundawang.lcuc.org.cn/mageia/distrib/cauldron/x86_64
 ftp://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/x86_64
 ftp://ftp.twaren.net/Linux/Mageia/distrib/cauldron/x86_64
 ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64
 ftp://mirror.nexcess.net/mageia/distrib/cauldron/x86_64
 http://mageia.mirrors.linux.ro/distrib/cauldron/x86_64
 ftp://ftp.linux.org.tr/mageia/distrib/cauldron/x86_64
 http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64
 ftp://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/x86_64
 http://mandriva.cointech.net/pub/Mageia/distrib/cauldron/x86_64
 rsync://mirrors.yun-idc.com/mageia/distrib/cauldron/x86_64
 rsync://mirrors.kernel.org/mirrors/mageia/distrib/cauldron/x86_64
 ftp://mageia.webconquest.com/distrib/cauldron/x86_64
 rsync://rsync.mageia.org/mageia/distrib/cauldron/x86_64
 ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/mageia/distrib/cauldron/x86_64
 ftp://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/x86_64
 rsync://ftp.akakom.ac.id/pub/linux/mageia/distrib/cauldron/x86_64
 http://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/x86_64
 http://mageia.c3sl.ufpr.br/distrib/cauldron/x86_64
 http://mirror.9nav.com/mageia/distrib/cauldron/x86_64
 rsync://mirror.datacenter.by/mageia/distrib/cauldron/x86_64
 http://ftp.linux.org.tr/mageia/distrib/cauldron/x86_64
 http://distro.ibiblio.org/pub/linux/distributions/mageia/distrib/cauldron/x86_64
 http://ftp.fi.muni.cz/pub/linux/mageia/distrib/cauldron/x86_64
 ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64
 ftp://mageia.c3sl.ufpr.br/mageia/distrib/cauldron/x86_64
 ftp://ftp.LinuxCabal.org/pub/mirrors/Mageia/distrib/cauldron/x86_64
 http://fr2.rpmfind.net/linux/mageia/distrib/cauldron/x86_64
 ftp://ftp.sjtu.edu.cn/mageia/distrib/cauldron/x86_64
 http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64
 http://ftp.linux.kiev.ua/pub/Linux/Mageia/distrib/cauldron/x86_64
 http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/x86_64
 http://ftp.belnet.be/mageia/distrib/cauldron/x86_64
 rsync://ftp.jaist.ac.jp/pub/Linux/Mageia/distrib/cauldron/x86_64
 rsync://ftp.tsukuba.wide.ad.jp/mageia/distrib/cauldron/x86_64
 rsync://fr2.rpmfind.net/linux/mageia/distrib/cauldron/x86_64
 ftp://distro.ibiblio.org/pub/linux/distributions/mageia/distrib/cauldron/x86_64
 http://free.nchc.org.tw/mageia/distrib/cauldron/x86_64
 http://ftp.itb.ac.id/pub/mageia/distrib/cauldron/x86_64
 http://mageia.r0b0t.fr/linux/Mageia/distrib/cauldron/x86_64
 rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
 http://mageia.mirror.garr.it/mirrors/mageia/distrib/cauldron/x86_64
 http://ftp.jaist.ac.jp/pub/Linux/Mageia/distrib/cauldron/x86_64
 rsync://ftp-stud.hs-esslingen.de/Mageia/distrib/cauldron/x86_64
 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
 ftp://mirror.netcologne.de/mageia/distrib/cauldron/x86_64
 http://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/cauldron/x86_64
 http://mirror.tuxinator.org/mageia/distrib/cauldron/x86_64
 ftp://ftp.linux.kiev.ua/pub/Linux/Mageia/distrib/cauldron/x86_64
 ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/cauldron/x86_64
 http://mirror.dacentec.com/mageia/distrib/cauldron/x86_64
 http://ftp.twaren.net/Linux/Mageia/distrib/cauldron/x86_64
 http://mageia.fis.unb.br/distrib/cauldron/x86_64
 rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/cauldron/x86_64
 ftp://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/x86_64
 ftp://mirror.tuxinator.org/mageia/distrib/cauldron/x86_64
 http://ftp.tku.edu.tw/Linux/Mageia/distrib/cauldron/x86_64
 http://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
 ftp://mageia.mirror.garr.it/mirrors/mageia/distrib/cauldron/x86_64
 ftp://mirrors.yun-idc.com/mageia/distrib/cauldron/x86_64
 http://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64
 rsync://ftp.linux.kiev.ua/pub/Linux/Mageia/distrib/cauldron/x86_64
 rsync://www.mirrorservice.org/mageia.org/pub/mageia/distrib/cauldron/x86_64
 ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/mageia/distrib/cauldron/x86_64
 ftp://fr2.rpmfind.net/linux/mageia/distrib/cauldron/x86_64
 http://ftp.tsukuba.wide.ad.jp/Linux/mageia/distrib/cauldron/x86_64
 http://ftp.uni-erlangen.de/mirrors/Mageia/distrib/cauldron/x86_64
 ftp://mageia.fis.unb.br/mageia/distrib/cauldron/x86_64
 http://ftp.sjtu.edu.cn/mageia/distrib/cauldron/x86_64
 http://ftp.sun.ac.za/ftp/pub/mirrors/mageia/distrib/cauldron/x86_64
 http://vodka.sublink.org/mageia/distrib/cauldron/x86_64
 http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64
 http://mirror2.tuxinator.org/mageia/distrib/cauldron/x86_64
 rsync://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
 http://mirror.datacenter.by/pub/mirrors/mageia.org/distrib/cauldron/x86_64
 http://mirror.internode.on.net/pub/mageia/distrib/cauldron/x86_64
 http://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/x86_64
 ftp://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64
 ftp://ftp.uni-erlangen.de/mirrors/Mageia/distrib/cauldron/x86_64
 ftp://mageia.mirrors.linux.ro/mageia/distrib/cauldron/x86_64
 rsync://mirror.9nav.com/mageia/distrib/cauldron/x86_64
 http://ftp.sh.cvut.cz/MIRRORS/mageia/distrib/cauldron/x86_64
 http://mirror.nexcess.net/mageia/distrib/cauldron/x86_64
 ftp://mirror.datacenter.by/pub/mirrors/mageia.org/distrib/cauldron/x86_64
 rsync://ftp.LinuxCabal.org/Mageia/distrib/cauldron/x86_64
 http://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/x86_64
 rsync://mageia.fis.unb.br/mageia/distrib/cauldron/x86_64
 rsync://mageia.mirror.dkm.cz/mageia/distrib/cauldron/x86_64
 ftp://vodka.sublink.org/mageia/distrib/cauldron/x86_64
 http://mirror1.adminbannok.com/mageia/distrib/cauldron/x86_64
 http://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
 ftp://mageia.nautile.nc/mageia/distrib/cauldron/x86_64
 ftp://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
 http://mirrors.ustc.edu.cn/mageia/distrib/cauldron/x86_64
 http://mageia.supp.name/distrib/cauldron/x86_64
 rsync://vodka.sublink.org/mageia/distrib/cauldron/x86_64
 ftp://ftp.fi.muni.cz/pub/linux/mageia/distrib/cauldron/x86_64
 ftp://mageia.r0b0t.fr/linux/Mageia/distrib/cauldron/x86_64
 ftp://ftp.sh.cvut.cz/MIRRORS/mageia/distrib/cauldron/x86_64
 https://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
 rsync://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64
 ftp://ftp.tku.edu.tw/Linux/Mageia/distrib/cauldron/x86_64
 rsync://ftp.belnet.be/mageia/distrib/cauldron/x86_64
 ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
 rsync://mageia.r0b0t.fr/ftp/linux/Mageia/distrib/cauldron/x86_64
 http://mageia.nautile.nc/mageia/distrib/cauldron/x86_64
 ftp://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
 https://ftp.uni-erlangen.de/mageia/distrib/cauldron/x86_64
"

## Any moderatly sized file to pull to run the speed test
FILE="release-notes.html"

## Number of seconds before the test is considered a failure
TIMEOUT="5"

## Sting to store results in
RESULTS=""

for MIRROR in $MIRRORS ; do
        
        echo -n "Testing ${MIRROR} "
        
        URL="${MIRROR}%{FILE}"
        TIME=`curl --max-time $TIMEOUT --silent --output /dev/null --write-out %{time_total} $URL`

       if [ $TIME != "0,000" ] ; then
                echo $TIME
                RESULTS="${RESULTS}${TIME}\t${MIRROR}\n";
                
        else
                echo "Fail";
        fi

done;

echo "\nResults:"
echo -e $RESULTS | sort -n

Άβαταρ μέλους
airmaik
Δημοσιεύσεις: 670
Εγγραφή: Τρί Ιουν 07, 2011 16:44 pm
Been thanked: 2 φορές

Re: έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από airmaik » Σάβ Ιαν 04, 2014 20:09 pm

αυτο μου έβγαλε

Κώδικας: Επιλογή όλων

0,111	http://mageia.supp.name/distrib/cauldron/x86_64
0,122	http://mirror.netcologne.de/mageia/distrib/cauldron/x86_64
0,133	http://mirror.tuxinator.org/mageia/distrib/cauldron/x86_64
0,134	http://fr2.rpmfind.net/linux/mageia/distrib/cauldron/x86_64
0,136	http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64
0,139	http://mirror2.tuxinator.org/mageia/distrib/cauldron/x86_64
0,141	http://ftp.fi.muni.cz/pub/linux/mageia/distrib/cauldron/x86_64
0,146	http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64
0,147	http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64
0,155	http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
0,181	http://ftp.uni-erlangen.de/mirrors/Mageia/distrib/cauldron/x86_64
0,183	http://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/cauldron/x86_64
0,188	http://ftp.belnet.be/mageia/distrib/cauldron/x86_64
0,189	http://mirror.datacenter.by/pub/mirrors/mageia.org/distrib/cauldron/x86_64
0,189	http://vodka.sublink.org/mageia/distrib/cauldron/x86_64
0,194	http://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/mageia/distrib/cauldron/x86_64
0,211	http://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64
0,216	http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/x86_64
0,236	http://mageia.mirror.garr.it/mirrors/mageia/distrib/cauldron/x86_64
0,242	http://mageia.mirror.dkm.cz/pub/mageia/distrib/cauldron/x86_64
0,246	http://fundawang.lcuc.org.cn/mageia/distrib/cauldron/x86_64
0,255	http://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
0,259	http://ftp.linux.org.tr/mageia/distrib/cauldron/x86_64
0,282	http://mageia.mirrors.linux.ro/distrib/cauldron/x86_64
0,292	http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64
0,292	http://ftp.linux.kiev.ua/pub/Linux/Mageia/distrib/cauldron/x86_64
0,307	http://mageia.webconquest.com/distrib/cauldron/x86_64
0,313	http://mirror.nexcess.net/mageia/distrib/cauldron/x86_64
0,328	http://mageia.unige.ch/mirror/distrib/cauldron/x86_64
0,328	http://mandriva.cointech.net/pub/Mageia/distrib/cauldron/x86_64
0,392	http://mirror.dacentec.com/mageia/distrib/cauldron/x86_64
0,455	http://linuxfreedom.com/mageia/distrib/cauldron/x86_64
0,476	http://distro.ibiblio.org/pub/linux/distributions/mageia/distrib/cauldron/x86_64
0,507	http://www.quicklynet.com/mageia/distrib/cauldron/x86_64
0,522	http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64
0,526	http://mirror.9nav.com/mageia/distrib/cauldron/x86_64
0,534	http://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/x86_64
0,609	http://ftp.sun.ac.za/ftp/pub/mirrors/mageia/distrib/cauldron/x86_64
0,663	http://mageia.c3sl.ufpr.br/distrib/cauldron/x86_64
0,687	http://mageia.fis.unb.br/distrib/cauldron/x86_64
0,703	http://ftp.tsukuba.wide.ad.jp/Linux/mageia/distrib/cauldron/x86_64
0,720	http://ftp.jaist.ac.jp/pub/Linux/Mageia/distrib/cauldron/x86_64
0,734	http://ftp.twaren.net/Linux/Mageia/distrib/cauldron/x86_64
0,778	http://mirror.internode.on.net/pub/mageia/distrib/cauldron/x86_64
0,782	http://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/x86_64
0,813	http://mirrors.yun-idc.com/mageia/distrib/cauldron/x86_64
0,844	http://ftp.tku.edu.tw/Linux/Mageia/distrib/cauldron/x86_64
0,882	http://mageia.nautile.nc/mageia/distrib/cauldron/x86_64
0,887	http://ftp.sjtu.edu.cn/mageia/distrib/cauldron/x86_64
1,003	https://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
1,083	ftp://mageia.mirror.dkm.cz/pub/mageia/distrib/cauldron/x86_64
1,137	http://mirrors.ustc.edu.cn/mageia/distrib/cauldron/x86_64
1,211	http://ftp.yz.yamagata-u.ac.jp/pub/linux/mageia/distrib/cauldron/x86_64
1,223	ftp://ftp.uni-erlangen.de/mirrors/Mageia/distrib/cauldron/x86_64
1,230	ftp://ftp.belnet.be/mirror/mageia/distrib/cauldron/x86_64
1,254	ftp://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/x86_64
1,259	ftp://ftp.linux.kiev.ua/pub/Linux/Mageia/distrib/cauldron/x86_64
1,262	http://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/x86_64
1,265	ftp://fr2.rpmfind.net/linux/mageia/distrib/cauldron/x86_64
1,324	ftp://mirror2.tuxinator.org/mageia/distrib/cauldron/x86_64
1,366	ftp://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64
1,370	ftp://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64
1,381	https://ftp.uni-erlangen.de/mageia/distrib/cauldron/x86_64
1,395	ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/mageia/distrib/cauldron/x86_64
1,402	http://mageia.xfree.com.ar/distrib/cauldron/x86_64
1,425	ftp://mageia.mirrors.linux.ro/mageia/distrib/cauldron/x86_64
1,438	ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
1,474	ftp://mirror.netcologne.de/mageia/distrib/cauldron/x86_64
1,565	ftp://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
1,606	ftp://ftp.fi.muni.cz/pub/linux/mageia/distrib/cauldron/x86_64
1,619	ftp://mageia.mirror.garr.it/mirrors/mageia/distrib/cauldron/x86_64
1,620	ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64
1,663	ftp://mirror.datacenter.by/pub/mirrors/mageia.org/distrib/cauldron/x86_64
1,730	http://ftp.itb.ac.id/pub/mageia/distrib/cauldron/x86_64
1,824	ftp://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
1,920	ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/cauldron/x86_64
1,927	ftp://mageia.webconquest.com/distrib/cauldron/x86_64
1,996	ftp://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/x86_64
2,005	ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64
2,043	ftp://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64
2,159	http://mirror.adminbannok.com/mageia/distrib/cauldron/x86_64
2,211	ftp://ftp.linux.org.tr/mageia/distrib/cauldron/x86_64
2,357	ftp://vodka.sublink.org/mageia/distrib/cauldron/x86_64
2,708	ftp://ftp.sh.cvut.cz/MIRRORS/mageia/distrib/cauldron/x86_64
2,708	http://ftp.sh.cvut.cz/MIRRORS/mageia/distrib/cauldron/x86_64
3,058	ftp://mirror.nexcess.net/mageia/distrib/cauldron/x86_64
4,173	ftp://mageia.nautile.nc/mageia/distrib/cauldron/x86_64
5,002	ftp://ftp.tku.edu.tw/Linux/Mageia/distrib/cauldron/x86_64
5,002	ftp://mirrors.kernel.org/mageia/distrib/cauldron/x86_64
5,003	ftp://distro.ibiblio.org/pub/linux/distributions/mageia/distrib/cauldron/x86_64
5,003	ftp://ftp.LinuxCabal.org/pub/mirrors/Mageia/distrib/cauldron/x86_64
5,003	ftp://ftp.itb.ac.id/pub/mageia/distrib/cauldron/x86_64
5,003	ftp://ftp.las.ic.unicamp.br/pub/mageia/distrib/cauldron/x86_64
5,003	ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/mageia/distrib/cauldron/x86_64
5,003	ftp://mageia.c3sl.ufpr.br/mageia/distrib/cauldron/x86_64
5,003	ftp://mageia.fis.unb.br/mageia/distrib/cauldron/x86_64
5,003	ftp://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/x86_64
5,003	ftp://mirrors.yun-idc.com/mageia/distrib/cauldron/x86_64
5,004	ftp://ftp.sjtu.edu.cn/mageia/distrib/cauldron/x86_64
5,004	ftp://ftp.twaren.net/Linux/Mageia/distrib/cauldron/x86_64
5,004	ftp://mirror.tuxinator.org/mageia/distrib/cauldron/x86_64
5,005	ftp://free.nchc.org.tw/mageia/distrib/cauldron/x86_64
ευχαριστω δημήτρη

δηλαδη τα ποιο γρηγορα ειναι αυτα με το 5 μπροστα? ετσι πάει ?
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)

Άβαταρ μέλους
dglent
Δημοσιεύσεις: 1002
Εγγραφή: Τετ Ιουν 01, 2011 05:42 am
Τοποθεσία: Γαλλία
Has thanked: 4 φορές

Re: έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από dglent » Σάβ Ιαν 04, 2014 21:49 pm

Αυτο που ειναι κοντά στο 0 (δευτ) ειναι ταχύτερα.

Άβαταρ μέλους
airmaik
Δημοσιεύσεις: 670
Εγγραφή: Τρί Ιουν 07, 2011 16:44 pm
Been thanked: 2 φορές

Re: έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από airmaik » Σάβ Ιαν 04, 2014 22:07 pm

ωραια ευχαριστώ!!!
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)

Άβαταρ μέλους
dglent
Δημοσιεύσεις: 1002
Εγγραφή: Τετ Ιουν 01, 2011 05:42 am
Τοποθεσία: Γαλλία
Has thanked: 4 φορές

Re: έλεγχος για το ποιο γρηγορο καθρεφτη

Δημοσίευση από dglent » Κυρ Ιαν 05, 2014 09:02 am

Και με αυτό το script που βρήκα, στη mageia dev ml, βλέπεις τους καθρεπτισμούς προς αποφυγή, αυτούς που δεν έχουν ενημερωθεί.
Το script εξετάζει το αρχείο timestamp που δηλώνει την ημερομηνία ενημέρωσης του καθρεπτισμού και εμφανίζει αυτούς που έχουν από μια ημέρα καθυστέρηση και πάνω.
* Θέλει προσοχή, γιατί ένας μη ενημερωμένος καθρεφτισμός είναι πηγή σφαλμάτων. Πχ θα σου λέει ότι ένα πακέτο δεν υπάρχει ενώ στην πραγματικότητα το πρόβλημα θα είναι ότι δεν έχει ενημερωθεί ο καθρεφτισμός!

Κώδικας: Επιλογή όλων

#!/bin/sh
now=$(date '+%s')
wget "http://mirrors.mageia.org/api/mageia.cauldron.i586.list" -qO- | grep -o 'https\?://[^[:space:]]*'| sed -e 's/distrib\/cauldron\/i586/mageia\_timestamp/' |
(while read mirror
do

        diff=$(expr $( expr $now - `wget "$mirror" -qO- | head -n1`) / 86400)
        if [ $diff != "0" ]
        then
        echo "$mirror $diff days"
fi
done
)

Απάντηση