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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
cache show obj

cache show obj

Function

The cache show obj command is used to view cache object information. This command is used when you want to view information about all cache objects or details about a cache object.

Format

cache show obj layer info filter [ num ]

cache show obj volumeId [ attribute ]

Parameters

Parameter

Description

Value

cnt Number of cache object that you want to view.

-

layer Range of cache information that you want to view.

The value can be "a" or "v" or "s".

  • "a": volume cache stripe cache.
  • "v": volume cache.
  • "s": stripe cache.
info Type of cache information that you want to view.

The value can be "base", "cnt", "destage", "read", "forcemirror", "switch", "iosteptime" or "arctate".

  • "base": cache base.
  • "cnt": cache object statistic count.
  • "destage": destage info on cache object.
  • "read": read info on cache object.
  • "forcemirror": forcemirror info on cache object.
  • "switch": cache object attribute switch.
  • "iosteptime": I/O time info.
  • "arctate": arc state.
filter Information type.
  • If first parameter is "cnt", value can be "all", "io", "faultchunk", "faultpage", "wc(writechunk)" or "rc(readchunk)".
  • If first parameter is "switch", value can be "all", "wt(writethrought)", "wm(writemirror)","wmd(workmode)" "local","normaldsg","sysdsg","nomirrorlun" or "singlectrl".
num Number of displayed items.

The value ranges from 0 to 2^64 minus one.

volumeId Volume ID.

The value ranges from 0 to 2^64 minus one.

attribute Attribute.

The value can be "concur", "hitratio", "state", or "posswaitlist", where:

  • concur: concurrent info on the cache object.
  • hitratio: hit ratio statistics.
  • state: state info on the cache object.
  • posswaitlist: retained reserve waiting queue of the cache object.

Views

Diagnostic view

Usage Guidelines

None

Example

View the first 10 items of object information of Layer 1 cache.

admin:/diagnose>cache show obj v cnt all
Total obj num(34): 
                        ----io cnt-----   --------page cnt---------   ---pageunit cnt---  ------chunk cnt------------------  --quota cnt--
  volumeid              io    mirrorCnt   clean    dirty    parity    readpu   writepu   read     write     fault     dsg       dirty     
  --------              --    --------    -----    -----    ------    ------   ------    ----     -----     -----     -----     -----    
  0x0                   0     0           0        0        0         0        0         0        0         0         0         0         
  0x1000000000          0     0           0        0        0         0        0         0        0         0         0         0         
  0x2000000000          0     0           1        66       0         70       66        67       66        0         0         66        
  0x4000000000          80    0           191064   500819   0         690686   457134    507086   440401    0         0         500819    
  0x5000000000          0     0           1        0        0         1        0         1        0         0         0         0         
  0x96                  0     0           0        0        0         0        0         0        0         0         0         0         
  0x1000000096          0     0           0        0        0         0        0         0        0         0         0         0         
  0x2000000096          0     0           0        0        0         0        0         0        0         0         0         0         
  0x4000000096          0     0           1        0        0         1        0         1        0         0         0         0         
  0x1000000100000000    0     0           2134     0        0         194      0         61       0         0         0         0         
  0x5000000096          0     0           1        0        0         1        0         1        0         0         0         0         
Find Volume cache base num(11):

System Response

The following table describes the parameter meanings.

Parameter

Meaning

volumeid

Volume ID.

io

Read or write cache I/O count.

mirrorCnt

Mirror I/O count.

clean

Clean page count.

dirty

Dirty page count.

read

Read chunk count.

writepu

Write pageunit count.

readpu

Read pageunit count.

parity

Parity page count.

write

Write chunk count.

fault

Fault chunk count.

dsg

Destage chunk count.

quota cnt

Dirty page quota count.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 744373

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next