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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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).
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-12

Document ID: EDOC1000138389

Views: 497228

Downloads: 85

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