JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Introduction to Oracle Solaris 11 Network Services     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Network Service (Overview)

2.  Managing Web Cache Servers

3.  Time-Related Services

Clock Synchronization (Overview)

About NTP in This Release

Managing Network Time Protocol (Tasks)

How to Set Up an NTP Server

How to Set Up an NTP Client

How to Enable NTP Logging

How to Display the SMF Properties Associated With the NTP Service

Using Other Time-Related Commands (Tasks)

How to Synchronize Date and Time From Another System

Network Time Protocol (Reference)

Index

Using Other Time-Related Commands (Tasks)

The following procedure can be used to update the current time when ever needed, without having to setup NTP.

How to Synchronize Date and Time From Another System

  1. Become an administrator.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Reset the date and time to synchronize with another system, by using the rdate command.
    # rdate another-system
    another-system

    Name of the another system

  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 3-1 Synchronizing Date and Time From Another System

The following 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 starbug.

earth# date
Tue Jun  5 11:08:27 MDT 2001
earth# rdate starbug
Tue Jun  5 14:06:37 2001
earth# date
Tue Jun  5 14:06:40 MDT 2001