官方文档地址:https://gpsd.gitlab.io/gpsd/ntpshmmon.html

主要功能:ntpshmmon - capture samples from gpsd or other ntpd refclock sources

说明:
该程序监视由 gpsd 更新的共享内存,可能还有其他 refclock 源,作为与 ntpd(网络时间协议守护程序)通信的一种方式。它以 ntpd 实例的方式读取这些内容。可以和ntpd同时运行,不会干扰ntpd的正常运行。

运行示例:

ntpshmmon version 1
#      Name   Seen@                Clock                Real               L Prec
sample NTP0 1627115420.671328194 1627115420.657344572 1627115420.599999904 0  -1
sample NTP0 1627115421.172376906 1627115421.158492951 1627115421.099999904 0  -1
sample NTP0 1627115421.673299286 1627115421.657205338 1627115421.599999904 0  -1
sample NTP0 1627115422.174359331 1627115422.159059047 1627115422.099999904 0  -1
sample NTP0 1627115422.674614713 1627115422.659179096 1627115422.599999904 0  -1
sample NTP0 1627115423.175694092 1627115423.158721480 1627115423.099999904 0  -1
sample NTP0 1627115423.676354472 1627115423.658370531 1627115423.599999904 0  -1
sample NTP0 1627115424.176879187 1627115424.157629915 1627115424.099999904 0  -1
sample NTP0 1627115424.676888574 1627115424.656837305 1627115424.599999904 0  -1
sample NTP0 1627115425.177168301 1627115425.157127699 1627115425.099999904 0  -1
sample NTP0 1627115425.677752027 1627115425.658393755 1627115425.599999904 0  -1
本文链接地址:https://const.net.cn/200.html

标签: none

添加新评论