On 2011-10-26T01:55:15-0400, Doug Calvert <[email protected]> wrote: > Has anyone ever written a script to parse the peer/sys/clock/flash > status words? As much as I hate to admit it I can not tell the > difference between 9024/963a/9424 without going to the docs and even > then its not the most intuitive/friendly experience;) > > Something like: > > transmogrify -[s|f|p|c] #### > > that prints out the description of each bit from the docs?
ntpq already does decode the bits with its readvar command. Give readvar an association ID, which you can obtain from ntpq -c associations. The status line is decoded on the first line. You'll still have to go to the docs for their descriptions though. -- Kenyon Ralph
signature.asc
Description: Digital signature
_______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
