Go to main content

Managing Clock Synchronization in Oracle® Solaris 11.4

Exit Print View

Updated: January 2019
 
 

Synchronizing the Date and Time From Another System

The following procedure describes how to update the current time without having to set up NTP.

How to Synchronize the Date and Time From Another System

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Reset the date and time to synchronize with another system.
    # rdate other-system-name
  3. Verify that you have reset your system's date correctly by using the date command.

    The output should show a date and time that matches that of the other system.

Example 2  Synchronizing Date and Time From Another System

This example shows how to use rdate to synchronize the date and time of one system with another. In this example, the system earth, running several hours behind, is reset to match the date and time of the server mars.

earth# date
Tue Jun  3 11:08:27 MDT 2014
earth# rdate mars
Tue Jun  3 14:06:37 2014
earth# date
Tue Jun  3 14:06:40 MDT 2014