亲,以下就是关于(Linux出现Leap Second问题程序响应慢解决方法(图)),由“WiFi之家网”整理!
Leap Second
一、leap second问题测试
1、若如下命令返回中有leap=01,那么就意味着将会有leap second发生
ntpq -c “lassoc” -c “mrv &1 &999 leap,srcadr,stratum”
2、若如下命令返回中有“no leap seconds”, 则表示不会有leap second发生。
file /etc/localtime
3、若如下命令有返回,则表示会有leap second发生。
ntptime |egrep ‘INS|DEL’
二、解决leap second问题
1、停止ntpd服务
2、重设内核状态和频率,
ntptime -s 0 -f 0
3、在/etc/sysconfig/ntpd文件中追加-x,启用slew mode
4、启动ntpd服务
leap second 之发生在特定ntpd和kernel中,本文贴上一个leap second 压力测试的C程序。
以上就是Linux出现Leap Second问题程序响应慢如何的解决方法
相关内容推荐:Linux系统硬盘出现故障的如何修复
以上就是关于-常见问题-(Linux出现Leap Second问题程序响应慢解决方法(图))的教程!
本文来自投稿,不代表【王海海网】观点,发布者:【王海海丨作者】
本文地址:https://www.wanghaihai.com/p/49651.html
举报投诉邮箱:253000106@qq.com