Setdate – FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 159

Advertising
background image

setdate(8)

System Administration

163

NAME

setdate - set the date and time of XSCF

SYNOPSIS

setdate

[ [-q] -{y|n}] [-u] -s date

setdate -h

DESCRIPTION

The setdate(8) command sets the date and time of XSCF.

If the local date and time are specified, they are set following conversion to
coordinated universal time (UTC).

After the command executed, XSCF will be reset automatically.

Privileges

You must have platadm or fieldeng privileges to run this command.

Refer to setprivileges(8) for more information.

OPTIONS

The following options are supported:

EXTENDED

DESCRIPTION

When the command is executed, a prompt to confirm execution of the command
with the specified options is displayed. Enter "y" to execute the command or "n"
to cancel the command.

In case the XSCF unit is duplicated configuration, the setting automatically
reflected to the standby XSCF. When there is a defect on the standby XSCF, it
leads to an error and the setting will be reflected to the active XSCF only.

If the XSCF is used as an NTP server, change the XSCF time, and synchronize the
domain times with the XSCF time. The XSCF time is applied to a domain during
either of the following operations:

-h

Displays usage statement. When used with other options or
operands, an error occurs.

-n

Automatically answers 'n' (no) to all prompts.

-q

Suppresses all messages to stdout, including prompts.

-s

date

Sets date and time. date can be specified in either of the
following formats:

YYYY.MM.DD-hh:mm:ss

Specifies date in the format of
"year.month.day-
hour:minute:second."

MMDDhhmmYYYY.ss

Specifies data in the format
"MonthDayHourMinuteYear.
second."

-u

Specifies time in UTC. When omitted, the local time is specified.

-y

Automatically answers 'y' (yes) to all prompts.

Advertising