NTP service in HPUX - start / stop

Issue the below start/restart NTP in HP-UX :

    # /sbin/init.d/xntpd stop
    # /sbin/init.d/xntpd start

#ntpq -p   : To list ntp peers and their time sync status
#ntpq -p <server fqdn or ip address>  : To  lists time sync status with that server (slightly different detail than ntpq -p)

/etc/ntp.conf  --> NTP configuration file in HP-UX

Note : Changes to the NTP configuration require ntp daemon (xntpd) be stopped and restarted (restart is not recognized):

    #/sbin/init.d/xntpd stop
    #/sbin/init.d/xntpd start    

Post a Comment