I assume you are in Asia. If so, run the following script and examine the output. Pick three hosts that look best and use them in place of "3.asia.pool.ntp.org".

Script:

--------cut here---------------
for i in 0 1 2 3
do
        host $i.asia.pool.ntp.org
done | while read x
        echo ""
        do y="$(echo $x | sed 's/^.*has address //')"
        ping -c10 -q $y
        host $y
done
--------cut here---------------

Criteria for a "good" host:

no more than 10% packet loss.
max round trip time is acceptably low
deviation (mdev or stddev, depending on which version of ping) of round trip time is acceptably low.

Enjoy!

Rick



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to