NTP 守护进程 OpenNTPD
阿里百川梦想创业大赛,500万创投寻找最赞的APP
OpenNTPD是一个Unix系统网络时间协议(NTP)实现的守护进程,可以使计算机系统的本地时钟与远程NTP服务器同步。它也可以作为一个NTP兼容客户端的NTP服务器。
OpenNTPD作为OpenBSD计划的一部分,主要由亨宁·布劳尔负责开发。其设计目标包括安全(不可被利用)、易于配置、在大多数情况足够精确及可在BSD许可证下分发源代码。如OpenSSH,它另有一个单独的子项目来开发可移植版本,其为OpenBSD的版本添加了兼容性代码,且与主项目分开发布新版本。可移植版由达伦·塔克开发。最新的可移植版发布于2006年。该项目的开发者得到了一些来自OpenBSD基金会的资助。
OpenNTPD逐步调整系统时钟,如在64位Arch Linux系统上运行OpenNTPD输出示例所示:
[root@nikolai karam]# more /var/log/daemon.log | grep ntp | grep adjusting | tail -20Aug 4 02:58:21 nikolai ntpd[4784]: adjusting local clock by -2.134620sAug 4 03:02:38 nikolai ntpd[4784]: adjusting local clock by -1.983869sAug 4 03:06:53 nikolai ntpd[4784]: adjusting local clock by -1.884521sAug 4 03:08:28 nikolai ntpd[4784]: adjusting local clock by -1.819296sAug 4 03:12:46 nikolai ntpd[4784]: adjusting local clock by -1.712934sAug 4 03:15:48 nikolai ntpd[4784]: adjusting local clock by -1.607747sAug 4 03:19:31 nikolai ntpd[4784]: adjusting local clock by -1.535188sAug 4 03:21:05 nikolai ntpd[4784]: adjusting local clock by -1.439628sAug 4 03:24:56 nikolai ntpd[4784]: adjusting local clock by -1.376086sAug 4 03:29:12 nikolai ntpd[4784]: adjusting local clock by -1.271529sAug 4 03:32:20 nikolai ntpd[4784]: adjusting local clock by -1.162333sAug 4 03:36:08 nikolai ntpd[4784]: adjusting local clock by -1.023899sAug 4 03:40:02 nikolai ntpd[4784]: adjusting local clock by -0.902637sAug 4 03:43:43 nikolai ntpd[4784]: adjusting local clock by -0.789431sAug 4 03:47:35 nikolai ntpd[4784]: adjusting local clock by -0.679320sAug 4 03:50:45 nikolai ntpd[4784]: adjusting local clock by -0.605858sAug 4 03:53:31 nikolai ntpd[4784]: adjusting local clock by -0.529821sAug 4 03:56:33 nikolai ntpd[4784]: adjusting local clock by -0.429573sAug 4 03:59:46 nikolai ntpd[4784]: adjusting local clock by -0.312575sAug 4 04:03:14 nikolai ntpd[4784]: adjusting local clock by -0.232646s