[ntp:questions] ntp documentation

Richard B. Gilbert rgilbert88 at comcast.net
Sat Jan 5 04:43:58 UTC 2008


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






More information about the questions mailing list