beautypg.com

Date, Exit, Date exit – HP EVA P6000 Storage User Manual

Page 219

background image

Clears all entries from the module's log file.

logs

Keywords

Resets the statistic counters.

stats

Examples: The following examples show the clear commands:

MEZ50 <1>(admin) #> clear logs
MEZ50 <1>(admin) #> clear stats

Date

Displays or sets the date and time. To set the date and time, you must enter the information in the
format MMDDhhmmCCYY (numeric representation of month-date-hour-minute-century-year). The new
date and time takes effect immediately. Each module has its own independent date set. Properly
setting the date ensures that event log entries are dated correctly. The date must be set prior to
applying any feature keys or licenses.

Admin session required to set the date and time. No authority is required to display the
current date and time.

Authority

[MMDDhhmmCCYY]

date

Syntax

Specifies the date, which requires an Admin session. If you omit
[MMDDhhmmCCYY], the command displays the current date,
which does not require an Admin session.

[MMDDhhmmCCYY]

Keywords

NOTE:

Always set the time using Greenwich Mean Time (GMT) and Universal Transverse Mercator

(UTM). You must disable the network time protocol (NTP) to set the time with the date command.

Examples: The following examples show the setting and then the display of the date:

MEZ50_02 (admin) #> date

Tue May 24 18:33:41 UTC 2011

MEZ50_02 (admin) #> date ?
Please enter time in Universal (UTC) timezone.
Note that Universal (UTC) time may not be the same as your local time.
Usage: date []
MEZ50_02 (admin) #> date 052513272011

Wed May 25 13:27:00 UTC 2011

MEZ50_02 (admin) #>

Exit

Exits the command line interface and returns you to the login prompt (same as the quit command).

None

Authority

exit

Syntax

Example 1: The exit command logs the session out. The following example shows the exit
command:

MEZ50 #>exit
Connection to host lost.

Commands

219