pylib documentation / examples?
Hal Murray
halmurray at sonic.net
Sun Jul 21 20:01:34 UTC 2024
folkert at vanheusden.com said:
> It is still heavily work in progress, but to give you an idea:
> http://gateway.vanheusden.com:5000/
Ah... For NTP, there is much more than one screen of data. I think your
best bet will be to poke around with ntpq.
The printout of the peers command is carefully arranged to fit on one 80
character line. There are 4 variants that print slightly different info.
space to ntpmon will switch to the next one.
Thanks for asking for "all" the info.
You can get a list of the assid-s from the associations command.
rv nnn peer_var_list will give you a list of the names you can ask for.
cv nnn clock_var_list will give you a list of the extra names for local
refclocks.
rv 0 sys_var_list will give you a similar list after I fix it.
ntpq> rv 17773 peer_var_list
peer_var_list="config,authenable,authentic,srcadr,srcport,dstadr,dstport,le
ap,hmode,stratum,ppoll,hpoll,precision,rootdelay,rootdisp,refid,reftime,org
,rec,xmt,reach,unreach,timer,delay,offset,jitter,dispersion,keyid,filtdelay
,filtoffset,pmode,received,sent,filtdisp,flash,mode,peer_var_list,headway,b
ias,srchost,timerec,timereach,badauth,bogusorg,oldpkt,seldisp,selbroken,can
didate,ntscookies"
ntpq> cv 17773 clock_var_list
associd=17773
clock_var_list="name,timecode,poll,noreply,badformat,baddata,fudgetime1,fud
getime2,stratum,refid,flags,device,clock_var_list"
I don't know why that "associd=17773" is in there. I'll probably fix that
too.
--
These are my opinions. I hate spam.
More information about the users
mailing list