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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand 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).
db showdbwritediskinfo

db showdbwritediskinfo

Function

The db showdbwritediskinfo command is used to query the logs about DB read and write disks.

Format

db showdbwritediskinfo beginNO endNO

Parameters

Parameter

Description

Value

beginNO

Start number to display logs.

The value is an integer ranging from 0 to 5000.

endNO

End number to display logs.

The value is an integer ranging from 0 to 5000.

Views

Diagnostic view

Usage Guidelines

The value of beginNO must be smaller than or equal to that of endNO.

Example

Query the logs about reading and writing DB information from and to disks.

admin:/diagnose> db showdbwritediskinfo 0 1 
Print Db Write or Read Disk Info 0 : 
Write or Read Db Data Len is 4096 bytes 
Write or Read Db Data to disk id is 3 
Write or Read Db Data Type is (0-read db,1-write db,2-read db log,3-write db log) 3 
Write or Read Db Data Result is -2 
Write or Read Db Data Begin time: 85295 (jiffies) 
Write or Read Db Data Return time: 85295 (jiffies) 
Print Db Write or Read Disk Info 1 : 
Write or Read Db Data Len is 4096 bytes 
Write or Read Db Data to disk id is 3 
Write or Read Db Data Type is (0-read db,1-write db,2-read db log,3-write db log) 3 
Write or Read Db Data Result is -2 
Write or Read Db Data Begin time: 87939 (jiffies) 
Write or Read Db Data Return time: 87939 (jiffies) 
Print Write or Read Disk Msg Info end.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Print Db Write or Read Disk Info

Number of logs to be displayed.

Write or Read Db Data Len is

Data length.

Write or Read Db Data to disk id is

Logic ID.

Write or Read Db Data Type is

I/O type.

Write or Read Db Data Result is

Returned result.

Write or Read Db Data Begin time

Start time of read and write I/O.

Write or Read Db Data Return time

Return time of read and write I/O.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 581476

Downloads: 233

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