In HPUX, xntpd is the daemon which sets and maintains the system time in synchronism with Internet standard time servers. xntpd reads the /etc/ntp.conf configuration file at startup time in order to determine the synchronization sources and operating modes.

The NTP startup script /sbin/init.d/xntpd will start ntp automatically, if you configure the NTPDATE_SERVER variable in /etc/rc.config.d/netdamons.

Sample configuration :

# grep -i ntp /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=”156.12.10.1″
export XNTPD=1
export XNTPD_ARGS=

# grep ^server /etc/ntp.conf
server 156.12.10.1
#

# ntptrace -n
127.0.0.1: stratum 4, offset 0.000009, synch distance 0.01196
156.12.10.1: stratum 3, offset 0.000141, synch distance 0.01048
202.100.34.140: stratum 2, offset -0.000860, synch distance 0.00882
64.123.57.19: stratum 1, offset -0.000484, synch distance 0.00581, refid ‘GPS’
#

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
Read More

Dont pipe cat

A basic-but-common grep usage error involves pipe’ing the output of cat to grep to search the contents of…