File tree Expand file tree Collapse file tree 1 file changed +12
-45
lines changed Expand file tree Collapse file tree 1 file changed +12
-45
lines changed Original file line number Diff line number Diff line change @@ -26,49 +26,16 @@ ntpdate [ -b] [ -d] [ -s] [ -u] [ -aKeyid] [ -eAuthenticationDelay] [ -kKeyFile]
2626
2727### 选项
2828
29- <table >
30- <tbody >
31- <tr >
32- <td >-aKeyid</td >
33- <td >使用 Keyid 来认证全部数据包。</td >
34- </tr >
35- <tr >
36- <td >-b</td >
37- <td >通过调用 settimeofday 子例程来增加时钟的时间。</td >
38- </tr >
39- <tr >
40- <td >-d</td >
41- <td >指定调试方式。判断 ntpdate 命令会产生什么结果(不产生实际的结果)。结果再现在屏幕上。这个标志使用无特权的端口。</td >
42- </tr >
43- <tr >
44- <td >-eAuthenticationDelay</td >
45- <td >指定延迟认证处理的时间秒数。</td >
46- </tr >
47- <tr >
48- <td >-kKeyFile</td >
49- <td >当不使用缺省值 /etc/ntp.keys 文件时,为包含密钥的文件指定一个不同的名称。 请参阅文件KeyFile的描述。</td >
50- </tr >
51- <tr >
52- <td >-oVersion</td >
53- <td >当轮询它的发出数据包时,指定使用的 NTP 版本实现。 Version 的值可以是 1,2,3。缺省值是 3。</td >
54- </tr >
55- <tr >
56- <td >-pSamples</td >
57- <td >指定从每个服务器获取的样本的数目。 Samples 的值在 1 和 8 之间,并包括 1 和 8。它的缺省值是 4。</td >
58- </tr >
59- <tr >
60- <td >-s</td >
61- <td >指定日志操作 syslog 设施的使用,而不是使用标准输出。 当运行 ntpdate 命令和 cron命令时,它是很有用的。</td >
62- </tr >
63- <tr >
64- <td >-tTimeOut</td >
65- <td >指定等待响应的时间。给定 TimeOut 的值四舍五入为 0.2 秒的倍数。缺省值是 1 秒。</td >
66- </tr >
67- <tr >
68- <td >-u</td >
69- <td >指定使用无特权的端口发送数据包。 当在一个对特权端口的输入流量进行阻拦的防火墙后是很有益的, 并希望在防火墙之外和主机同步。防火墙是一个系统或者计算机,它控制从外网对专用网的访问。</td >
70- </tr >
71- </tbody >
72- </table >
73-
29+ ``` shell
30+ -aKeyid # 使用 Keyid 来认证全部数据包。
31+ -b # 通过调用 settimeofday 子例程来增加时钟的时间。
32+ -d # 指定调试方式。判断 ntpdate 命令会产生什么结果(不产生实际的结果)。结果再现在屏幕上。这个标志使用无特权的端口。
33+ -eAuthenticationDelay # 指定延迟认证处理的时间秒数。
34+ -kKeyFile # 当不使用缺省值 /etc/ntp.keys 文件时,为包含密钥的文件指定一个不同的名称。 请参阅文件KeyFile的描述。
35+ -oVersion # 当轮询它的发出数据包时,指定使用的 NTP 版本实现。 Version 的值可以是 1,2,3。缺省值是 3。
36+ -pSamples # 指定从每个服务器获取的样本的数目。 Samples 的值在 1 和 8 之间,并包括 1 和 8。它的缺省值是 4。
37+ -s # 指定日志操作 syslog 设施的使用,而不是使用标准输出。 当运行 ntpdate 命令和 cron命令时,它是很有用的。
38+ -tTimeOut # 指定等待响应的时间。给定 TimeOut 的值四舍五入为 0.2 秒的倍数。缺省值是 1 秒。
39+ -u # 指定使用无特权的端口发送数据包。 当在一个对特权端口的输入流量进行阻拦的防火墙后是很有益的, 并希望在防火墙之外和主机同步。防火墙是一个系统或者计算机,它控制从外网对专用网的访问。
40+ ```
7441
You can’t perform that action at this time.
0 commit comments