Ntp Runs 2 Processes
Jonathan Chen
jonc at chen.org.nz
Thu Nov 17 18:27:55 GMT 2005
On Thu, Nov 17, 2005 at 08:58:02AM -0500, Lowell Gilbert wrote:
> Dev Tugnait <dev at unixdaemon.org> writes:
>
> > Upong booting my machine i noticed ntp running 2 processes.
> >
> > root 456 0.0 0.1 2952 1396 ?? Ss 4:30AM
> > 0:00.50 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/
> > root 803 0.0 0.1 2952 1404 ?? S 4:31AM
> > 0:00.01 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/
> >
> > rc.conf info
> > ntpd_enable="YES"
> > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"
> > ntpdate_enable="YES"
> > ntpdate_flags="ntp2.usno.navy.mil"
>
> I'd guess that something else is being configured to start ntp as well...
When ntp starts it spawns a child to help with syncing. Check the
parent-child relationships on the processes. The child process will
terminate after ntp makes up its mind which timeserver to sync
against.
Cheers.
--
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
Experience is a hard teacher
because she gives the test first, the lesson afterwards
More information about the freebsd-questions
mailing list