{"id":8534,"date":"2020-08-28T13:16:27","date_gmt":"2020-08-28T05:16:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8534"},"modified":"2020-08-28T13:16:27","modified_gmt":"2020-08-28T05:16:27","slug":"ntptrace","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ntptrace","title":{"rendered":"ntptrace\u547d\u4ee4 – \u8ffd\u8e2aNTP\u670d\u52a1\u5668\u94fe"},"content":{"rendered":"\n
ntptrace\u662f\u4e00\u4e2a perl \u811a\u672c\uff0c\u5b83\u4f7f\u7528 ntpq \u5b9e\u7528\u7a0b\u5e8f\u6765\u8ddf\u8e2a\u4ece\u7ed9\u5b9a\u4e3b\u673a\u5230\u4e3b\u8981\u65f6\u95f4\u6e90\u7684 NTP \u670d\u52a1\u5668\u94fe\u3002\u4e3a\u4e86\u4f7fntptrace\u6b63\u5e38\u5de5\u4f5c\uff0c\u8fd9\u4e9b\u670d\u52a1\u5668\u4e2d\u7684\u6bcf\u4e00\u4e2a\u90fd\u5fc5\u987b\u5b9e\u73b0RFC 1305\u4e2d\u6307\u5b9a\u7684NTP\u63a7\u5236\u548c\u76d1\u63a7\u534f\u8bae\uff0c\u5e76\u542f\u7528NTP\u6a21\u5f0f6\u6570\u636e\u5305\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ntptrace [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u53ea\u6253\u5370\u4e3b\u673aIP\u5730\u5740\uff0c\u4e0d\u6253\u5370\u4e3b\u673a\u540d\u79f0\uff1a<\/p>\n\n\n\n \u5f00\u542f\u8c03\u8bd5\u8f93\u51fa\uff1a<\/p>\n\n\n\n \u8bbe\u7f6e\u6bcf\u4e2a\u4e3b\u673a\u7684\u91cd\u4f20\u5c1d\u8bd5\u6b21\u6570\uff1a<\/p>\n\n\n\n ntptrace\u662f\u4e00\u4e2a perl \u811a\u672c\uff0c\u5b83\u4f7f\u7528 ntpq \u5b9e\u7528\u7a0b\u5e8f\u6765\u8ddf\u8e2a\u4ece\u7ed9\u5b9a\u4e3b\u673a\u5230\u4e3b\u8981\u65f6\u95f4\u6e90\u7684 NTP \u670d\u52a1 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8534"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8534"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8534\/revisions"}],"predecessor-version":[{"id":8537,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8534\/revisions\/8537"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-d<\/td> \u5f00\u542f\u8c03\u8bd5\u8f93\u51fa<\/td><\/tr> -n<\/td> \u53ea\u6253\u5370\u4e3b\u673aIP\u5730\u5740\uff0c\u4e0d\u6253\u5370\u4e3b\u673a\u540d\u79f0<\/td><\/tr> -r retries<\/td> \u8bbe\u7f6e\u6bcf\u4e2a\u4e3b\u673a\u7684\u91cd\u4f20\u5c1d\u8bd5\u6b21\u6570\u3002\u9ed8\u8ba4\u503c\u4e3a5<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# ntptrace -n<\/pre>\n\n\n\n
[root@linuxcool ~]# ntptrace -d<\/pre>\n\n\n\n
[root@linuxcool ~]# ntptrace -r www.linuxcool.com<\/pre>\n","protected":false},"excerpt":{"rendered":"