Re: Ntp Runs 2 Processes

2005-11-17 Thread Lowell Gilbert
Dev Tugnait [EMAIL PROTECTED] writes:

 Upong booting my machine i noticed ntp running 2 processes.
 
 root 456  0.0  0.1  2952  1396  ??  Ss4: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...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ntp Runs 2 Processes

2005-11-17 Thread Jonathan Chen
On Thu, Nov 17, 2005 at 08:58:02AM -0500, Lowell Gilbert wrote:
 Dev Tugnait [EMAIL PROTECTED] writes:
 
  Upong booting my machine i noticed ntp running 2 processes.
  
  root 456  0.0  0.1  2952  1396  ??  Ss4: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 [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ntp Runs 2 Processes

2005-11-16 Thread Dev Tugnait
Upong booting my machine i noticed ntp running 2 processes.

root 456  0.0  0.1  2952  1396  ??  Ss4: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


-- 
_ 
 FreeBSD 
- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||

[ We've switched the bath sponge with a tribble. ]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]