No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show diagnose_code

show diagnose_code

Function

The show diagnose_code command is used to query system diagnose codes.

Format

show diagnose_code [ from_time=? | to_time=? | level=? | number=? | sequence=? ]

Parameters

Parameter

Description

Value

from_time=?

Start time of diagnose code query. Diagnose codes after the time will be displayed.

NOTE:

Set the value of parameter "from_time" to the local time.

The value is in the format of "year-month-day"/"hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 59.

sequence=?

SN of a diagnose code. To obtain the value, run the "show event" command without parameters.

The value is an integer between 1 and 4,294,967,295.

number=?

Maximum number of diagnose codes.

The value is an integer ranging from 1 to 10000.

level=?

Level of the diagnose code to be queried.

The value can be "warning", "major", "critical", or "informational", where:

  • "warning": The diagnose code is for warning.
  • "major": The diagnose code is major.
  • "critical": The diagnose code is critical.
  • "informational": The diagnose code is informational.

to_time=?

End time of diagnose code query. Diagnose codes before the time will be displayed.

NOTE:

Set the value of parameter "to_time" to the local time.

The value is in the format of "year-month-day"/"hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 59.

Level

Administrator

Usage Guidelines

  • The system time ranges from 2000-01-01/00:00:01 to 2035-12-31/23:59:59 in UTC.
  • If too many events are displayed, press "q" to stop displaying more events.
  • The sequence parameter is mutually exclusive with all other parameters.

Example

Query all diagnose codes.

admin:/>show diagnose_code  
  Sequence      Level          Occurred On                    Name                             ID           
  ------------  -------------  -----------------------------  -------------------------------  ---------- 
  155635        Informational  2015-11-30/14:25:59 UTC+08:00  Invoking Failed                  0xF0000904 
  155632        Informational  2015-11-30/14:25:43 UTC+08:00  The Software Is Abnormal         0xF0000501 
  155614        Informational  2015-11-30/14:23:05 UTC+08:00  Failed To Request For Resources  0xF0000601 
  138848        Informational  2015-11-28/17:19:59 UTC+08:00  Non-Existent Object              0xF0000901  

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Sequence

SN of a diagnose code.

Level

Level of a diagnose code.

Occurred On

Time where a diagnose code occurred.

ID

Diagnose code ID.

Name

Diagnose code name.

Detail

Diagnose code details.

Suggestion

Diagnose code rectification suggestion.

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 122866

Downloads: 153

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next