How to confirm/deny ntp is working?

Leslie Jensen leslie at eskk.nu
Tue Aug 3 04:47:30 UTC 2010



On 2010-08-02 22:31, Volodymyr Kostyrko wrote:
> 02.08.2010 23:23, Ed Flecko wrote:
>
>> 1.) Do I need to manually create the "driftfile" (/var/db/ntpd.drift)?
>
> Nope.
>
>> 2.) Do I need to manually create the logfile (/var/log/ntp.log)?
>
> Nope.
>
>> 3.) How do you confirm that FreeeBSD is, in fact, keeping time?
>
> pgrep ntp
> ntpq -p
> echo daily_status_ntpd_enable=yes > /etc/periodic.conf
>

Shouoldn't it be "YES" and >> so that it do not overwrite your present file?

echo daily_status_ntpd_enable="YES" >> /etc/periodic.conf

/Leslie


More information about the freebsd-questions mailing list