format of loop stats?

  • Follow


All,

    What are the fields in the loop stats log?
I want to plot the data, but don't which is which.
I'll post the results once I get it automated.

Thx, Chris

[crichmon@tua512 ntp]# more stats.loop.20061223
54092  367.700 -0.000003195 33.148 0.000029734 0.085744 6
54092  560.685  0.000028154 33.389 0.000001234 0.117021 6
54092 1075.704  0.000008813 33.432 0.000004353 0.110545 6
54092 1519.718  0.000011968 33.475 0.000001311 0.104499 6
0
Reply tomnykds 12/23/2006 7:21:55 PM

>    What are the fields in the loop stats log?

Assuming you have a copy of the sources, the details
are in <wherever>/html/monopt.html

loopstats
Enables recording of loop filter statistics information. Each
update of the local clock outputs a line of the following form
to the file generation set named loopstats:
  50935 75440.031 0.000006019 13.778190 0.000351733 0.0133806
The first two fields show the date (Modified Julian Day) and time
(seconds and fraction past UTC midnight). The next five fields
show time offset (seconds), frequency offset (parts per million - PPM),
RMS jitter (seconds), Allan deviation (PPM) and clock discipline
time constant.

[Looks like the sample line is missing the timeconstant number.]


-- 
These are my opinions, not necessarily my employer's.  I hate spam.

0
Reply hal 12/23/2006 8:40:01 PM


tomnykds,

http://www.eecis.udel.edu/~mills/ntp/html/monopt.html

Dave

tomnykds@comcast.net wrote:
> All,
> 
>     What are the fields in the loop stats log?
> I want to plot the data, but don't which is which.
> I'll post the results once I get it automated.
> 
> Thx, Chris
> 
> [crichmon@tua512 ntp]# more stats.loop.20061223
> 54092  367.700 -0.000003195 33.148 0.000029734 0.085744 6
> 54092  560.685  0.000028154 33.389 0.000001234 0.117021 6
> 54092 1075.704  0.000008813 33.432 0.000004353 0.110545 6
> 54092 1519.718  0.000011968 33.475 0.000001311 0.104499 6
0
Reply David 12/24/2006 12:03:41 AM

In article <M7OdnVNRrq-8CRDYnZ2dnUVZ_o_inZ2d@megapath.net>,
 hal-usenet@ip-64-139-1-69.sjc.megapath.net (Hal Murray) writes:
>
>>    What are the fields in the loop stats log?
>
>Assuming you have a copy of the sources, the details
>are in <wherever>/html/monopt.html

Thanks Hal, David,

Got the link from David in other follow-up.

>[Looks like the sample line is missing the timeconstant number.]

date   date     time offset  freq off.  jitter      Allen dev.   clk time const.
54092  367.700  -0.000003195 33.148     0.000029734 0.085744     6
54092  560.685   0.000028154 33.389     0.000001234 0.117021     6

I think all the bits are there.  I'm plotting with gnuplot.  It works
OK.  Just need to pick a format that can export in a web page.

Chris
0
Reply tomnykds 12/24/2006 9:06:52 PM

tomnykds@comcast.net writes:

> All,
> 
>     What are the fields in the loop stats log?

It's old, but I think it's still valid:
http://www.ntp.org/ntpfaq/NTP-s-trouble.htm#S-TRBL-MONITORING (NTP FAQ -->
8. Troubleshooting --> 8.1. Monitoring --> 8.1.2. How do I use peerstats and
loopstats?) http://www.ntp.org/ntpfaq/NTP-s-trouble.htm#TAB-STATFIL :

Table 3. Statistic Files

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+File Type+Version+                      List of Fields                       +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+         +3      +day, second, offset, drift compensation, polling interval  +
+loopstats+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+         +4      +day, second, offset, drift compensation, estimated error,  +
+         +       +stability, polling interval                                +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+         +3      +day, second, address, status, offset, delay, dispersion    +
+peerstats+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+         +4      +day, second, address, status, offset, delay, dispersion,   +
+         +       +skew +variance+                                            +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Regards,
Ulrich

> I want to plot the data, but don't which is which.
> I'll post the results once I get it automated.
> 
> Thx, Chris
> 
> [crichmon@tua512 ntp]# more stats.loop.20061223
> 54092  367.700 -0.000003195 33.148 0.000029734 0.085744 6
> 54092  560.685  0.000028154 33.389 0.000001234 0.117021 6
> 54092 1075.704  0.000008813 33.432 0.000004353 0.110545 6
> 54092 1519.718  0.000011968 33.475 0.000001311 0.104499 6
0
Reply Ulrich 3/21/2007 9:40:22 AM

4 Replies
162 Views

(page loaded in 0.358 seconds)

5/19/2013 2:38:00 AM


Reply: