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 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, 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. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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 fault codes.

Format

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

Parameters

Parameter

Description

Value

from_time=? Start time of fault code query. Fault 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 61.
    NOTE:
    The value 60 and 61 are used for scenarios where a leap second occurs.
sequence=? SN of a fault 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 fault codes.

The value is an integer ranging from 1 to 10000.

level=? Level of the fault code to be queried.

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

  • "warning": The fault code is for warning.
  • "major": The fault code is major.
  • "critical": The fault code is critical.
  • "informational": The fault code is informational.
to_time=? End time of fault code query. Fault 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 61.
    NOTE:
    The value 60 and 61 are used for scenarios where a leap second occurs.

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 fault 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 fault code.

Level

Level of a fault code.

Occurred On

Time where a fault occurred.

ID

Fault ID.

Name

Fault name.

Detail

Fault details.

Repair Suggestion

Fault rectification suggestion.

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084078

Views: 274262

Downloads: 249

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