{"id":398,"date":"2013-06-03T22:04:09","date_gmt":"2013-06-03T22:04:09","guid":{"rendered":"https:\/\/shan.info\/new\/ntpq-p\/"},"modified":"2013-06-03T22:04:09","modified_gmt":"2013-06-03T22:04:09","slug":"ntpq-p","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/ntpq-p\/","title":{"rendered":"ntpq -p\u8f93\u51fa\u542b\u4e49"},"content":{"rendered":"<table style=\"line-height: 25px; color: #005327; font-family: Arial, Helvetica, simsun, u5b8bu4f53; font-size: 14px; background-color: #34c181; width: 722px; height: 1133px;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"56\">\u4f4d\u7f6e<\/td>\n<td valign=\"top\" width=\"85\">\u6807\u5fd7<\/td>\n<td valign=\"top\" width=\"363\">\u542b\u4e49<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\" width=\"56\">remote\u4e4b\u524d<\/td>\n<td valign=\"top\" width=\"85\">*<\/td>\n<td valign=\"top\" width=\"363\">\u54cd\u5e94\u7684NTP\u670d\u52a1\u5668\u548c\u6700\u7cbe\u786e\u7684\u670d\u52a1\u5668<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">+<\/td>\n<td valign=\"top\" width=\"363\">\u54cd\u5e94\u8fd9\u4e2a\u67e5\u8be2\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">blank(\u7a7a\u683c)<\/td>\n<td valign=\"top\" width=\"363\">\u6ca1\u6709\u54cd\u5e94\u7684NTP\u670d\u52a1\u5668<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"9\" width=\"56\">\u5217\u8868\u4e0a\u65b9<\/td>\n<td valign=\"top\" width=\"85\">remote<\/td>\n<td valign=\"top\" width=\"363\">\u54cd\u5e94\u8fd9\u4e2a\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668\u7684\u540d\u79f0<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">refid<\/td>\n<td valign=\"top\" width=\"363\">NTP\u670d\u52a1\u5668\u4f7f\u7528\u7684\u66f4\u9ad8\u4e00\u7ea7\u670d\u52a1\u5668\u7684\u540d\u79f0<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">st<\/td>\n<td valign=\"top\" width=\"363\">\u6b63\u5728\u54cd\u5e94\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668\u7684\u7ea7\u522b<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">when<\/td>\n<td valign=\"top\" width=\"363\">\u4e0a\u4e00\u6b21\u6210\u529f\u8bf7\u6c42\u4e4b\u540e\u5230\u73b0\u5728\u7684\u79d2\u6570<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">poll<\/td>\n<td valign=\"top\" width=\"363\">\u672c\u5730\u548c\u8fdc\u7a0b\u670d\u52a1\u5668\u591a\u5c11\u65f6\u95f4\u8fdb\u884c\u4e00\u6b21\u540c\u6b65\uff0c\u5355\u4f4d\u79d2\uff0c \u5728\u4e00\u5f00\u59cb\u8fd0\u884cNTP\u7684\u65f6\u5019\u8fd9\u4e2apoll\u503c\u4f1a\u6bd4\u8f83\u5c0f\uff0c\u670d\u52a1\u5668\u540c\u6b65\u7684\u9891\u7387\u5927\uff0c\u53ef\u4ee5\u5c3d\u5feb\u8c03\u6574\u5230\u6b63\u786e\u7684\u65f6\u95f4\u8303\u56f4\uff0c\u4e4b\u540epoll\u503c\u4f1a\u9010\u6e10\u589e\u5927\uff0c\u540c\u6b65\u7684\u9891\u7387\u4e5f\u5c31\u4f1a\u76f8\u5e94\u51cf\u5c0f<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">reach<\/td>\n<td valign=\"top\" width=\"363\">\u7528\u6765\u6d4b\u8bd5\u80fd\u5426\u548c\u670d\u52a1\u5668\u8fde\u63a5\uff0c\u662f\u4e00\u4e2a\u516b\u8fdb\u5236\u503c\uff0c\u6bcf\u6210\u529f\u8fde\u63a5\u4e00\u6b21\u5b83\u7684\u503c\u5c31\u4f1a\u589e\u52a0<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">delay<\/td>\n<td valign=\"top\" width=\"363\">\u4ece\u672c\u5730\u673a\u53d1\u9001\u540c\u6b65\u8981\u6c42\u5230ntp\u670d\u52a1\u5668\u7684\u5f80\u8fd4\u65f6\u95f4<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">offset<\/td>\n<td valign=\"top\" width=\"363\">\u4e3b\u673a\u901a\u8fc7NTP\u65f6\u949f\u540c\u6b65\u4e0e\u6240\u540c\u6b65\u65f6\u95f4\u6e90\u7684\u65f6\u95f4\u504f\u79fb\u91cf\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff0coffset\u8d8a\u63a5\u8fd1\u4e8e0\uff0c\u4e3b\u673a\u548cntp\u670d\u52a1\u5668\u7684\u65f6\u95f4\u8d8a\u63a5\u8fd1<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"85\">jitter<\/td>\n<td valign=\"top\" width=\"363\">\u7edf\u8ba1\u4e86\u5728\u7279\u5b9a\u4e2a\u8fde\u7eed\u7684\u8fde\u63a5\u6570\u91ccoffset\u7684\u5206\u5e03\u60c5\u51b5\u3002\u7b80\u5355\u5730\u8bf4\u8fd9\u4e2a\u6570\u503c\u7684\u7edd\u5bf9\u503c\u8d8a\u5c0f\uff0c\u4e3b\u673a\u7684\u65f6\u95f4\u5c31\u8d8a\u7cbe\u786e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u4f4d\u7f6e \u6807\u5fd7 \u542b\u4e49 remote\u4e4b\u524d * \u54cd\u5e94\u7684NTP\u670d\u52a1\u5668\u548c\u6700\u7cbe\u786e\u7684\u670d\u52a1\u5668 + \u54cd\u5e94\u8fd9\u4e2a\u67e5\u8be2\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668 blank(\u7a7a\u683c) \u6ca1\u6709\u54cd\u5e94\u7684NTP\u670d\u52a1\u5668 \u5217\u8868\u4e0a\u65b9 remote \u54cd\u5e94\u8fd9\u4e2a\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668\u7684\u540d\u79f0 refid NTP\u670d\u52a1\u5668\u4f7f\u7528\u7684\u66f4\u9ad8\u4e00\u7ea7\u670d\u52a1\u5668\u7684\u540d\u79f0 st \u6b63\u5728\u54cd\u5e94\u8bf7\u6c42\u7684NTP\u670d\u52a1\u5668\u7684\u7ea7\u522b when \u4e0a\u4e00\u6b21\u6210\u529f\u8bf7\u6c42\u4e4b\u540e\u5230\u73b0\u5728\u7684\u79d2\u6570 poll \u672c\u5730\u548c\u8fdc\u7a0b\u670d\u52a1\u5668\u591a\u5c11\u65f6\u95f4\u8fdb\u884c\u4e00\u6b21\u540c\u6b65\uff0c\u5355\u4f4d\u79d2\uff0c \u5728\u4e00\u5f00\u59cb\u8fd0\u884cNTP\u7684\u65f6\u5019\u8fd9\u4e2apoll\u503c\u4f1a\u6bd4\u8f83\u5c0f\uff0c\u670d\u52a1\u5668\u540c\u6b65\u7684\u9891\u7387\u5927\uff0c\u53ef\u4ee5\u5c3d\u5feb\u8c03\u6574\u5230\u6b63\u786e\u7684\u65f6\u95f4\u8303\u56f4\uff0c\u4e4b\u540epoll\u503c\u4f1a\u9010\u6e10\u589e\u5927\uff0c\u540c\u6b65\u7684\u9891\u7387\u4e5f\u5c31\u4f1a\u76f8\u5e94\u51cf\u5c0f reach \u7528\u6765\u6d4b\u8bd5\u80fd\u5426\u548c\u670d\u52a1\u5668\u8fde\u63a5\uff0c\u662f\u4e00\u4e2a\u516b\u8fdb\u5236\u503c\uff0c\u6bcf\u6210\u529f\u8fde\u63a5\u4e00\u6b21\u5b83\u7684\u503c\u5c31\u4f1a\u589e\u52a0 delay \u4ece\u672c\u5730\u673a\u53d1\u9001\u540c\u6b65\u8981\u6c42\u5230ntp\u670d\u52a1\u5668\u7684\u5f80\u8fd4\u65f6\u95f4 offset \u4e3b\u673a\u901a\u8fc7NTP\u65f6\u949f\u540c\u6b65\u4e0e\u6240\u540c\u6b65\u65f6\u95f4\u6e90\u7684\u65f6\u95f4\u504f\u79fb\u91cf\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff0coffset\u8d8a\u63a5\u8fd1\u4e8e0\uff0c\u4e3b\u673a\u548cntp\u670d\u52a1\u5668\u7684\u65f6\u95f4\u8d8a\u63a5\u8fd1 jitter \u7edf\u8ba1\u4e86\u5728\u7279\u5b9a\u4e2a\u8fde\u7eed\u7684\u8fde\u63a5\u6570\u91ccoffset\u7684\u5206\u5e03\u60c5\u51b5\u3002\u7b80\u5355\u5730\u8bf4\u8fd9\u4e2a\u6570\u503c\u7684\u7edd\u5bf9\u503c\u8d8a\u5c0f\uff0c\u4e3b\u673a\u7684\u65f6\u95f4\u5c31\u8d8a\u7cbe\u786e<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}