Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1. ntpd update
$ sudo yum update ntp
2. ntpd stop
$ sudo service ntpd stop
3. kernel retention time・clear frequency offset
$ sudo ntptime -s 0 -f 0
4. change ntpd slew mode boot options
$ sudo sed -i -e 's/OPTIONS="\(.*\)\-g"/OPTIONS="\1\-g \-x"/' /etc/sysconfig/ntpd
5. ntpd start
$ sudo service ntpd start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.