ntpdate

ntpdate – Sets the date and time using the Network Time Protocol (NTP). This command only applies to AIX® 4.2 or later.

 

ntpdate [ -b ] [ -c ] [-d ] [ -s ] [ -u ] [ -a Keyid ] [ -e AuthenticationDelay ] [ -k KeyFile ] [ -o Version ] [ -p Samples ] [ -t TimeOut ] Server …

 

-a Keyid Enable the authentication function and authenticate all packets usingKeyid. By default, the authentication function is disabled.
-b Step the clock’s time by calling the settimeofday subroutine.
-c Slew the clock’s time by calling the adjtime subroutine.
-d Specifies debug mode. Determines what results the ntpdate command produces without actually doing them. The results appear on the screen. This flag uses unprivileged ports.
-e AuthenticationDelay Specifies the amount of time in seconds to delay the authentication processing. Typical values range from 0.0001 to 0.003.
-k KeyFile Specifies a different name for the file containing the keys when not using the default /etc/ntp.keys file. See … for the description of the KeyFile.
-o Version Specifies the NTP version implementation to use when polling its outgoing packets. The values for Version can be 1, 2 or 3. The default is 3.
-p Samples Specifies the number of samples to acquire from each server. The values for Samples can be between 1 and 8 inclusive. The default is 4.
-s Specifies the use of the syslog facility to log actions instead of using standard output. Useful when running the ntpdate command with thecron command.
-t TimeOut Specifies the amount of time to wait for a response. The value given forTimeOut is rounded to a multiple of 0.2 seconds. The default is 1 second.
-u Specifies the use of an unprivileged port to send the packets from. Useful when you are behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond the firewall. A firewall is a system or machine that controls the access from outside networks to a private network.