[ntp:questions] ntp documentation

Unruh unruh-spam at physics.ubc.ca
Sat Jan 5 20:25:50 UTC 2008


"Richard B. Gilbert" <rgilbert88 at comcast.net> writes:

>Unruh wrote:
>> "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>> 
>> 
>>>Unruh wrote:
>>>
>>>>"Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>>>>
>>>>
>>>>
>>>>>Unruh wrote:
>>>>>
>>>>>
>>>>>>Where is there ntp documentation? For example I wanted to have ntp write
>>>>>>out the statistics  on its peers etc. I looked everywhere-- man page of
>>>>>>ntp, ntp.conf, etc, and finally discovered by looking at the source that
>>>>>>there seem to be a huge bunch of undocumented options. 
>>>>>>Or are they documented somewhere in that filing cabinette down some broken
>>>>>>steps in a flooded basement, behind a door labeled "Beware of Tigers"
>>>>>>
>>>>>>
>>>>>
>>>>>You'll find the secret staircase at ntp.org.  The humidity may be a 
>>>>>little high in the basement but it's not actually wet.  ;-)
>>>>
>>>>
>>>>>This snippet from my ntp.conf might help:
>>>>
>>>>
>>>>>logfile /var/ntp/ntp.log
>>>>>statsdir /var/ntp/ntpstats/
>>>>>statistics peerstats clockstats
>>>>>filegen peerstats file peerstats type day enable
>>>>>filegen clockstats file clockstats type day enable
>>>>
>>>>
>>>>But where did you find those options? for example I finally did 
>>>>statistics peerstats
>>>>and the system set up a daily and total couple of files in /var/log/ntp (
>>>>my statsdir) 
>>>>What does filegen do and mean? Do I need it? I should have some docs where
>>>>I can easily find that. Does it exist?
>>>>
>>>>
>>>>
>>>>
>>>
>> 
>>>filegen creates a new file daily or weekly or monthly. . . .
>>>These files can eat many megabytes of disk space if you let them.  If 
>>>you're not prepared to analyze and summarize all the data, do yourself a 
>>>favor and skip creating the files.  The tools to do so are included in 
>>>the ntpd distribution but you do have to find them, and use them and 
>>>then clean up the obsolete files. . . .
>> 
>> 
>> 
>> OK, I guess daily is the default if you just use the 
>> statistics peerstats
>> But the key question is where in the world is the documentation for all of
>> this?
>> 
>> 
>> 

>Same place as the rest of the doc.  Have you looked in the "html" 
>directory??  The stuff will display in your browser if you use the 
>FILE://... syntax.  The HTML is formatted so as to be almost as readable 
>  as plain text if you open it in an editor.

Thanks.




More information about the questions mailing list