Hylton Conacher(ZR1HPC) wrote:
Hi,
Using the command of 'watch -n 1 tail -10 /var/log/ntp' I see that the ntp daemon only checks at certain intervals for a time server. Which ntp configuration file could I edit to shorten/lengthen the time between the ntp checks? The last check was at 07h29 and the time now is 08h24 and it hasn't checked inbetween.
If this configuration is not available, what command could I issue to initiate an ntp time check against the internet ntp servers ie after I have enabled the net connection?
I have tried to look at 'man ntp' but was pointed onto '/usr/share/doc/packages/xntp-doc' which doesn't exist on my system, I do however have a '/usr/share/packages/xntp/' folder. Entering this folder also did not provide me with the required 'xntp-doc' file. I figured no problem and searched Yast for both ntp and xntp-doc with both NOT returning the ntp-doc package I am looking for.
Besides the web, which is unavailable at the moment courtesy of my ISP ADSL link, where can I find this document? If only available on the web, I guess tldp.org would have it but perhaps there is a more SUSE relevant link you can give me?
Sorry, cannot answer the other questions but to check and correct the time, as root issue the following command in a terminal: ntpdate -u <IP-address-of-time-server> For example, in my case, I issue the command ntpdate -u 203.12.160.2 when I want to check for time accuracy. Cheers. -- I'm dangerous when I know what I'm doing.