[ntp:questions] Close stats files

Martin Burnicki martin.burnicki at meinberg.de
Thu Jan 8 14:40:40 UTC 2009


alkopedia at googlemail.com wrote:
> Hello
> I'm using a script that moves the ntp stats (cryptostats.20090107,
> loopstats.20090107, ...) files from the ntp server to a fileserver at
> 00:40 AM. It works fine, except for the cryptostats.yyyymmdd file. It
> seems the ntpd has this file still opened and when I move it away it
> will produce a backup file of cryptostats called cryptostats.3073C10.
> 
> Is there a command to safely close all files bevore moving them to the
> file server?

What version of NTP are you running?

I think I have also stumbled over this with the protostats file in the
development version of NTP. However, I have not yet had the time to dig
into this.

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany




More information about the questions mailing list