我为NTP找到了一个名为ntpdsim的模拟器:http://www.eecis.udel.edu/~mills/ntp/html/ntpdsim_new.html
我不知道我可以用什么操作系统。页面上没有下载内容。所以我认为它集成在NTP包中。
我试过Ubuntu和Opensuse。我在两者上都安装了NTP,但没有名为ntpdsim的程序。
我该如何使用这个工具?
ntpdsim确实是ntp源代码tarball的一部分,但显然没有包含在您引用的分发包中。
当从源代码进行编译时,您需要使用--enable-simulator
运行./configure
来构建/安装它。这至少是./configure --help
所说的。
检查./configure --help
以查看是否有需要启用的构建选项。
我想这就是您想要的:http://doc.ntp.org/4.2.2p1/ntpdsim.html