Date: Fri, 18 Nov 2005 07:27:53 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: dev@unixdaemon.org, freebsd-questions@FreeBSD.org Subject: Re: Ntp Runs 2 Processes Message-ID: <20051117182753.GA8354@osiris.chen.org.nz> In-Reply-To: <44psozfkb9.fsf@be-well.ilk.org> References: <1132150758.9234.14.camel@dracula> <44psozfkb9.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 17, 2005 at 08:58:02AM -0500, Lowell Gilbert wrote:
> Dev Tugnait <dev@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@chen.org.nz>
----------------------------------------------------------------------
Experience is a hard teacher
because she gives the test first, the lesson afterwards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051117182753.GA8354>
