Solaris10で時刻同期

こんな感じ↓

root@hoge # cp /etc/inet/ntp.client /etc/inet/ntp.conf
root@hoge # vi /etc/inet/ntp.conf
"/etc/inet/ntp.conf" 10 行、291 バイト
# ident "@(#)ntp.client 1.3 00/07/17 SMI"
#
# /etc/inet/ntp.client
#
# An example file that could be copied over to /etc/inet/ntp.conf; it
# provides a configuration for a host that passively waits for a server
# to provide NTP packets on the ntp multicast net.
#

#multicastclient 224.0.1.1
server 192.168.xx.xx
~
~
"/etc/inet/ntp.conf" 11 行、313 バイト
root@hoge # svcs -a | grep ntp
disabled 22:01:39 svc:/network/ntp:default
root@hoge # svcadm -v enable ntp
svc:/network/ntp:default が有効になりました。
root@hoge # svcs -a | grep ntp
online 14:39:55 svc:/network/ntp:default
root@hoge # tail -f /var/adm/messages
Nov 16 14:39:55 hoge ntpdate[15651]: [ID 774510 daemon.notice] step time server 192.168.xx.xx offset 58.005936 sec
Nov 16 14:39:55 hoge xntpd[15653]: [ID 702911 daemon.notice] xntpd 3-5.93e+sun 03/08/29 16:23:05 (1.4)
Nov 16 14:39:55 hoge xntpd[15653]: [ID 301315 daemon.notice] tickadj = 5, tick = 10000, tvu_maxslew = 495, est. hz = 100
Nov 16 14:39:56 hoge xntpd[15653]: [ID 266339 daemon.notice] using kernel phase-lock loop 0041, drift correction 0.00000