[root@nufront-master-02 ~]# service ntpd status
Redirecting to /bin/systemctl status ntpd.service
● ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-02-25 13:47:14 CST;2 days ago
Process: 760ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS(code=exited, status=0/SUCCESS)
Main PID: 793(ntpd)
Tasks: 1
Memory: 3.2M
CGroup: /system.slice/ntpd.service
└─793 /usr/sbin/ntpd -u ntp:ntp -g
Feb 2513:47:24 nufront-master-02 ntpd[793]: new interface(s) found: waking up resolver
Feb 2513:47:25 nufront-master-02 ntpd[793]: 0.0.0.0 c61c 0c clock_step +0.363311 s
Feb 2513:47:25 nufront-master-02 ntpd[793]: 0.0.0.0 c614 04 freq_mode
Feb 2513:47:26 nufront-master-02 ntpd[793]: 0.0.0.0 c618 08 no_sys_peer
Feb 2513:47:56 nufront-master-02 ntpd[793]: Listen normally on 8 docker_gwbridge 172.18.0.1 UDP 123
Feb 2513:47:56 nufront-master-02 ntpd[793]: Listen normally on 9 br-c5c6b2d01484 172.19.0.1 UDP 123
Feb 2513:47:56 nufront-master-02 ntpd[793]: new interface(s) found: waking up resolver
Feb 2514:03:07 nufront-master-02 ntpd[793]: 0.0.0.0 c612 02 freq_set kernel -0.289 PPM
Feb 2514:03:07 nufront-master-02 ntpd[793]: 0.0.0.0 c615 05 clock_sync
Feb 28 09:56:07 nufront-master-02 ntpd[793]: 0.0.0.0 0618 08 no_sys_peer
###[root@nufront-master-02 ~]# ntpstat
synchronised to unspecified at stratum 10time correct to within 60 ms
polling server every 1024 s
[root@nufront-master-02 ~]# service ntpd stop
Redirecting to /bin/systemctl stop ntpd.service
[root@nufront-master-02 ~]# service ntpd start
Redirecting to /bin/systemctl start ntpd.service
[root@nufront-master-02 ~]# ntpstat
synchronised to NTP server (172.16.34.120) at stratum 10time correct to within 7950 ms
polling server every 64 s
CDH 主机NTP 服务未同步至任何远程服务器 synchronised to unspecified at stratum
[root@nufront-master-02 ~]# service ntpd statusRedirecting to /bin/systemctl status ntpd.service● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Active: active (running.