<Example 1> Display the current time with local time.
XSCF> showdate
Mon Jan 23 14:53:00 JST 2006
<Example 2> Display the current time with UTC.
XSCF> showdate -u
Mon Jan 23 14:53:00 JST 2006
2. Use the setdate(8) command to set the time.
<Example 1> Set the current time to 2006-1-27 16:59:00 of a local
time.
XSCF> setdate -s 012716592006.00
Fri Jan 27 16:59:00 JST 2006
The XSCF will be reset. Continue? [y|n]:y
Fri Jan 27 07:59:00 UTC 2006
<Example 2> Set the current time to 2006-1-27 07:59:00 of UTC.
XSCF> setdate -u -s 012707592006.00
Fri Jan 27 07:59:00 UTC 2006
The XSCF will be reset. Continue? [y|n]:y
Fri Jan 27 07:59:00 UTC 2006
Note – After the time settings, XSCF reset is done. At this time, the XSCF session is
disconnected. Please reconnect to the XSCF and log in again. Also, when the
domains are running and if you use XSCF as an NTP server, please perform a
domain reboot or apply the changed time to the domain using the ntpdate(1M)
command.
Note – When replacing the XSCF unit, be sure to note the time set on the
replacement XSCF. If the replacement XSCF time does not match the current time,
set it to the current time. For the replacement XSCF unit, execute the showdate(8)
command to check the time, and reset it using the setdate(8) command.
Configuring an NTP Server
■
1. Use the showntp(8) command to display the NTP server for the XSCF network.
2-48
SPARC Enterprise Mx000 Servers XSCF User's Guide • August 2009
Command operation
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers