beautypg.com

FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 200

background image

setdate(8)

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.

EXAMPLES

EXAMPLE 1

Sets "January 27 16:59:00 2006" of the local time (JST) as the current time.

EXAMPLE 2

Sets "January 27 07:59:00 2006" of UTC as the current time.

EXAMPLE 3

Sets "January 27 16:59:00 2006" of the local time (JST) as the current time. Au-
tomatically replies with

"

y

"

to the prompt.

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

XSCF>

The reset continues after this point.

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

XSCF>

The reset continues after this point.

XSCF>

setdate -y -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

XSCF>

The reset continues after this point.