Hp ux time synchronization
The company took over two Hewlett-Packard minicomputers and wrote down the operation method of time synchronization.
Change the time zone by set_parms timezone / / interaction
On the client side, perform the following steps:
1 、 vi / etc/rc.config.d/netdaemons
Change export NTPDATE_SERVER= to export NTPDATE_SERVER= "192.12.19.20"
Change export XNTPD0=0 to export XNTPD=1
2 、 vi / etc/ntp.conf
Add three lines at the end:
Server 192.12.19.20
Fudge 192.12.19.20 stratum 0
Driftfile / etc/ntp.drift
3 、 # / etc/init.d/xntpd stop
4 、 # / etc/init.d/xntpd start
5.#/usr/bin/ntpq-p / / check whether it is working properly