网络服务配置:邮件与文件传输
1. 邮件服务
1.1 NTP 相关工具
NTP 分发中包含一些实用的故障排除工具,如ntptrace。jitter表示系统时钟与远程时钟的观测时间误差(以毫秒为单位),是均方根(RMS)时间差的平均值(在 NTPv4 之前,此列称为dispersion)。
ntptrace用于确定给定 NTP 服务器的时间来源,并追溯 NTP 服务器链直至其主时间源。若不带参数运行ntptrace,则从localhost开始。示例输出如下:
Athena:/home/admin # ntptrace localhost: stratum 16, offset 0.000000, synch distance 0.000000 time.nrc.ca: stratum 2, offset 0.002815, synch distance 0.03061 toc.nrc.ca: stratum 1, offset 0.002153, synch distance 0.00156, refid ‘PPS’输出行各字段(从左到右)含义:
- 主机名
- 主机层级
-ntptrace测量的该主机与本地主机的时间偏移(这就是localhost的偏移不总