ChorusOS 5.0 Transition Guide

Network Time Protocol (NTP)

The new NTP feature provides a set of daemons and commands that enable you to synchronize the dates of different ChorusOS systems. The date is synchronized within a client/server architecture. A ChorusOS system may request the date or provide the date to other systems.

The Network Time Protocol Daemon (ntpd)

The ntpd daemon can run as a server or as a client. The server feature provides a reference clock available to all systems on the network. The client feature is used to compute a clock according to other sources and to keep the system clock synchronized.

The ntpq Command

This command enables you retrieve or to set the ntpd configuration dynamically. For example, the list of reference clocks used by servers for synchronization can be modified dynamically with ntpq

The ntptrace Command

ntptrace determines the source from which a particular NTP server gets its time and follows the chain of NTP servers back to their master time source.

The ntpdate command

ntpdate enables you to retrieve and set the system time using NTP. Requests made by ntpdate are in unicast mode. Although ntpdate is not the best way to request the time periodically, or to maintain a synchronized date (since it is a command) it can be useful when used with a mechanism like a cron tab.