Oracle Sun SPARC Enterprise M3000 Reference Manual page 190

Xscf reference manual for xcp version 109x
Hide thumbs Also See for Sun SPARC Enterprise M3000:
Table of Contents

Advertisement

setdate(8)
EXAMPLES
176
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised February 2010
The ntpdate(1M) command is executed in the domain.
Rebooting the domain
The setdate(8) command can be executed only while all domains are powered
off.
When an NTP server has been set to XSCF, the setdate(8) command results in
an error. Whether an NTP server set to XSCF or not can be checked by using the
showntp(8) command.
To check the currently set XSCF date and time, execute the showdate(8)
command.
Sets "January 27 16:59:00 2006" of the local time (JST) as the current time.
EXAMPLE 1
setdate -s 012716592006.00
XSCF>
Fri Jan 27 16:59:00 JST 2006
The XSCF will be reset. Continue? [y|n] :
Fri Jan 27 07:59:00 UTC 2006
XSCF>
The reset continues after this point.
Sets "January 27 07:59:00 2006" of UTC as the current time.
EXAMPLE 2
setdate -u -s 012707592006.00
XSCF>
Fri Jan 27 07:59:00 UTC 2006
The XSCF will be reset. Continue? [y|n] :
Fri Jan 27 07:59:00 UTC 2006
XSCF>
The reset continues after this point.
Sets "January 27 16:59:00 2006" of the local time (JST) as the current time. Au-
EXAMPLE 3
tomatically replies with "y" to the prompt.
setdate -y -s 012716592006.00
XSCF>
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
XSCF>
The reset continues after this point.
y
y

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents