Statistics File Issues

ntpd can generate a variety of statistics as it runs.

Over time, any of these statistics files may have undergone a change in its content or format which makes it difficult to analyze "previous" and "current" data.

Let's use this page to discuss these issues and evolve a solution.

What about generating a "comment line" as the first line generated for every statistics file?

Perhaps something like:

 #loopstats v1
 # day now offset freq*1e6 jitter stability*1e6 spoll

This way we could easily grep out the comment lines and/or use a perl program to combine data from different versions of each statistics file into the desired format.

-- HarlanStenn - 12 Nov 2006

I like that idea, but I would like to take it a step further. I think that the format line should be inserted every time ntpd starts up. Because the ntp.conf file is largely backwards compatible, users often will switch between versions of ntpd and xntpd without changing the names of the stats files, so it is possible to get a mix of formats in a single file.

-- BrianUtterback - 13 Nov 2006

This topic: Dev > WebHome > StatisticsFileIssues
Topic revision: r3 - 2006-11-13 - 17:05:56 - HarlanStenn
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback