Sync Time/date with NTP server

Hello all,

What would be the most convienint and proper way on syncing up the time and date on Solaris 8 servers with an NTP server?

Any help would be appreciated. Thanks

ntpdate and xntpd would be my choices I'd say.

Ntpdate will do a one-off sync when you run it (so you can put in in the startup or cron it)

xntpd will keep you in sync with the time master by shaving a few microseconds off or adding them on until it catches up or slows down to the right time.

I use xntpd when I can as it produces smaller time shifts when correcting.

Thanks for the reply Dragon...

I took the xntpd path. Configured the ntp.conf file with the NTP server and turned on the xntpd daemon.

Now, I run "ntpq", then "peers" to show a status of the syncing. I'm interpreting this command by looking at the offset field which shows the time in microseconds, is this correct?

Thanks! Cheers.