Linux:如何在RHEL/CentOS上启用NTP环路过滤器统计信息?
时间:2020-02-23 14:39:40 来源:igfitidea点击:
您可能最终需要在Linux计算机上获得有关时间同步的详细统计信息。
为此,只需执行以下操作:
1.编辑您的NTP配置文件:
/etc/ntpd.conf
2.附加以下参数:
statistics loopstats statsdir /var/log/ntpstats/ filegen peerstats file peers type day link enable filegen loopstats file loops type day link enable
3.重新启动NTP守护程序:
service ntpd restart