beautypg.com

Clock command, Syntax, Description – Lenovo ThinkServer TD200 User Manual

Page 98: Example, Identify command

background image

clock command

Syntax

clock [options]
options:
-d mm/dd/yyyy
-t hh:mm:ss
-g gmt offset
-dst on/off/special case

Description

Use the clock command to display the current date and time according to the IMM
clock and the GMT offset. You can set the date, time, GMT offset, and daylight
saving time settings.

Note the following information:

v

For a GMT offset of +2 or +10, special daylight saving time settings are required.

v

For +2, the daylight saving time options are as follows: off, ee (Eastern Europe),
gtb (Great Britain), egt (Egypt), fle (finland).

v

For +10, the daylight saving time settings are as follows: off, ea (Eastern
Australia), tas (Tasmania), vlad (Vladivostok).

v

The year must be from 2000 to 2089, inclusive.

v

The month, date, hours, minutes, and seconds can be single-digit values (for
example, 9:50:25 instead of 09:50:25).

v

GMT offset can be in the format of +2:00, +2, or 2 for positive offsets, and -5:00
or -5 for negative offsets.

Example

system> clock
12/12/2003 13:15:23 GMT-5:00 dst on
system> clock -d 12/31/2004
ok
system> clock
12/31/2004 13:15:30 GMT-5:00 dst on

identify command

Syntax

identify [options]
options:
-s on/off/blink
-d seconds

Description

Use the identify command to turn the chassis identify LED on or off, or to have it
flash. The -d option can be used with -s on to turn the LED on for only for the
number of seconds specified with the -d parameter. The LED then turns off after
the number of seconds elapses.

Example

system> identify
-s off
system> identify -s on -d 30
ok
system>

92

Integrated Management Module: User Guide

This manual is related to the following products: