format of loop stats? - NTP

This is a discussion on format of loop stats? - NTP ; 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 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: format of loop stats?

  1. format of loop stats?

    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

  2. Re: format of loop stats?


    > What are the fields in the loop stats log?


    Assuming you have a copy of the sources, the details
    are in /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.


  3. Re: format of loop stats?

    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


  4. Re: format of loop stats?

    In article ,
    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 /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

  5. Re: format of loop stats?

    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-trou...RBL-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


+ Reply to Thread