[ntp:questions] NTP clients
David Lord
snews at lordynet.org
Wed Oct 30 01:49:26 UTC 2013
Steve Kostecke wrote:
> On 2013-10-29, David Lord <snews at lordynet.org> wrote:
>
>> My systems are running netbsd-6 i386. Stock ntpd is ntp-4.2.6p5,
>> pkgsrc version of ntpd is 4.2.4.
>>
>> My pc with gps/pps has ntp-4.2.7p377 and from that I get
>> "***Command 'mrulist' unknown"
>
> "mrulist" was added in 4.2.7p22; see http://archive.ntp.org/ntp4/ChangeLog-dev
> or search the ntp-dev source code repository at bk.ntp.org
>
> ntpq prior to 4.2.7p22 does not support "mrulist" ...
so 4.2.7p377 I've used since August is broken?
or do I need to add some options to enable that command?
| associd=0 status=011d leap_none, sync_pps, 1 event, kern,
| version="ntpd 4.2.7p377 at 1.2483-o Tue Jul 30 18:01:47 UTC 2013 (1)",
| processor="i386", system="NetBSD/6.1_STABLE", leap=00, stratum=1,
| precision=-18, rootdelay=0.000, rootdisp=400.195, refid=PPSb,
| reftime=d61ade0d.50cec958 Wed, Oct 30 2013 1:23:25.315,
| clock=d61ade1a.c7c4f3bc Wed, Oct 30 2013 1:23:38.780, peer=41951, tc=4,
| mintc=3, offset=-0.002, frequency=-36.004, sys_jitter=0.003815,
| clk_jitter=0.002, clk_wander=0.002, tai=35, leapsec=201207010000,
| expire=201312010000
built from source downloaded from www.ntp.org
I've now downloaded ntp-dev-4.2.7p393 but in middle of upgrades
so might be a week or more before it's built/installed.
David
> Here's ntpq from the current stable release:
>
> me at home:/tmp$ ./ntpq -n -cmrulist
> ***Command `mrulist' unknown
> me at home:/tmp$ ./ntpq -v
> ./ntpq: illegal option -- v
> ntpq - standard NTP query program - Ver. 4.2.6p5
> USAGE: ntpq [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]
>
> Here's ntpq from the current ntp-dev snapshot:
>
> me at home:/tmp$ which ntpq
> /usr/bin/ntpq
> me at home:/tmp$ ntpq -n -cmrulist
> Ctrl-C will stop MRU retrieval and display partial results.
> Retrieved 9 unique MRU entries and 0 updates.
> lstint avgint rstr r m v count rport remote address
> ==============================================================================
> 142 1043 0 . 4 4 1095 123 69.64.58.101
> 158 1007 0 . 4 4 1134 123 38.229.71.1
> 745 1033 0 . 4 4 1105 123 199.102.46.73
> 840 1039 0 . 4 4 1098 123 66.225.61.66
> 873 1040 0 . 4 4 1097 123 192.155.88.169
> 887 1003 0 . 4 4 1138 123 166.70.136.35
> 947 1005 0 . 4 4 1136 123 108.61.73.243
> 964 1018 0 . 4 4 1121 123 67.212.118.60
> 1023 1026 0 . 4 4 1112 123 74.120.8.2
> You have new mail in /var/mail/me
> me at home:/tmp$ ntpq -v
> /usr/bin/ntpq: illegal option -- v
> ntpq - standard NTP query program - Ver. 4.2.7p393
> Usage: ntpq [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]
> Try 'ntpq --help' for more information.
>
> exit 1
> me at home:/tmp$
>
More information about the questions
mailing list