您的位置:首页 > 编程语言 > PHP开发

Rehl7 设置ntp服务,同步指定服务器时间。Ntp改为chrony

2015-10-11 19:30 826 查看
Rehl7 设置ntp服务,同步指定服务器时间。Ntp改为chrony

vim /etc/chrony.conf

server classroom.example.com iburst

systemctl restart chronyd.service

[root@desktop0 ~]# chronyc sources -v

210 Number of sources = 1

.-- Source mode '^' = server, '=' = peer, '#' = local clock.

/ .- Source state '*' = current synced, '+' = combined , '-' = not combined,

| / '?' = unreachable, 'x' = time may be in error, '~' = time too variable.

|| .- xxxx [ yyyy ] +/- zzzz

|| / xxxx = adjusted offset,

|| Log2(Polling interval) -. | yyyy = measured offset,

|| \ | zzzz = estimated error.

|| | |

MS Name/IP address Stratum Poll Reach LastRx Last sample

===============================================================================

^* classroom.example.com 8 6 177 98 -1722ns[-5693us] +/- 1191us

[root@desktop0 ~]#
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  服务器 server style color