Skip to content

Instantly share code, notes, and snippets.

@azet
Last active March 28, 2019 15:11
Show Gist options
  • Save azet/2084399 to your computer and use it in GitHub Desktop.
Save azet/2084399 to your computer and use it in GitHub Desktop.
get time offset from popular stratum 0-3 time servers (stratum 1 distribution is the biggest)
#!/bin/sh
/usr/sbin/ntpdate -qvvvb -s 10 -p 8 time.nist.gov at.pool.ntp.org pool.ntp.org ts1.aco.net ts2.aco.net asynchronos.iiss.at ntpstm.netbone-digital.com time.ufe.cz time.fu-berlin.de atom.uhr.de ntp1.nl.uu.net ntp0.nl.uu.net ntp3.usv.ro utcnist2.colorado.edu timekeeper.isi.edu clock.sjc.he.net nist1.symmetricom.com t2.timegps.net clock.isc.org clepsydra.dec.com gps.layer42.net rackety.udel.edu mizbeaver.udel.edu clock.nyc.he.net otc1.psu.edu timehost.lysator.liu.se ntp0.as34288.net ntp1.as34288.net tick.usask.ca tock.usask.ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment