Fujitsu SPARC Enterprise M3000 Xscf Reference Manual page 184

Xscf control package (xcp) 109x
Hide thumbs Also See for SPARC Enterprise M3000:
Table of Contents

Advertisement

setdate(8)
EXAMPLES
162
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised August 2009
The ntpdate(1M) command is executed in the domain.
Rebooting the domain
The setdate(8) command needs to be executed in the system power-off status.
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.
Sets "January 27 16:59:00 2006" of the local time (JST) as the current time. Au-
EXAMPLE 4
y
y

Advertisement

Table of Contents
loading

Table of Contents