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).
dpumm_shm show attr

dpumm_shm show attr

Function

The dpumm_shm show attr command is used to show the list of shared memory pools with specified attributes.

Format

dpumm_shm show attr none usermode

dpumm_shm show attr recovery usermode

dpumm_shm show attr leakdetectable usermode

dpumm_shm show attr exhaust usermode

dpumm_shm show attr localcash usermode

dpumm_shm show attr norecover usermode

dpumm_shm show attr contAllocFailDetectable usermode

Parameters

Parameter

Description

Value

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • "-app_data": executes the command for the app_data process.
  • "-devm": executes the command for the devm process.
  • "-sys_app": executes the command for the sys_app process.
  • "-cfg_app": executes the command for the cfg_app process.

Views

Diagnostic view

Usage Guidelines

OceanStor 18500 V5 Kunpeng, 18500F V5 Kunpeng, 18800 V5 Kunpeng and 18800F V5 Kunpeng storage systems support this command.

Example

  • Show the list of memory pools with non-key resource attributes.

    admin:/diagnose> dpumm_shm show attr none -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0x98800000           0x98800001           1              0x300      0x2                392        CM                   seria_data_share_mem            
    0x98800000           0x98800002           1              0x300      0x2                392        CM                   serial_real_num_share_mem       
    0x98800000           0x98800003           1              0x300      0x2                392        CM                   node_event_version_share_mem  
  • Show the list of memory pools with the memory data protection upon resetting attribute.

    admin:/diagnose> dpumm_shm show attr recovery -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0x98100000           0x98100001           1000           0x48       0x2                385        dpumm_shm            global_page_pool                
    0x98300000           0x98300001           2              0x40       0x2                387        NONE                 DRA_SNM_VER_POOL  
  • Show the list of memory pools with the leak detection attribute.

    admin:/diagnose> dpumm_shm show attr leakdetectable -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
  • Show the list of memory pools with the exhaustion detection attribute.

    admin:/diagnose> dpumm_shm show attr exhaust -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0xa0ba0000           0xa0ba0005           8192           0x108      0x2                523        NONE                 resp_wr_msg_pool_12             
    0xa0ba0000           0xa0ba0004           16384          0x108      0x2                523        NONE                 xnet_ack_0                      
    0xa0ba0000           0xa0ba0006           4096           0x108      0x2                523        NONE                 recv_wr_msg_pool_12             
    0xa0ba0000           0xa0ba0001           1              0x108      0x2                523        NONE                 pid_info_mem_12                 
    0xa0ba0000           0xa0ba0003           12288          0x108      0x2                523        NONE                 xnet_hb_0                       
    0xa0ba0000           0xa0ba0002           12288          0x108      0x2                523        NONE                 xnet_0                          
    0x9f0a0000           0x9f0a0001           16384          0x108      0x2                496        BDM_EIO              496_XNET_DATA_MSG               
    0x97ea0000           0x97ea0001           0              0x108      0x2                382        dpuc                 DPUC_RSP_DATA_EXTEND            
    0xb84a0000           0xb84a0001           1024           0x108      0x2                900        FTDS                 900_XNET_DATA_MSG               
    0x98800000           0x98800001           1              0x300      0x2                392        CM                   seria_data_share_mem            
    0x98800000           0x98800002           1              0x300      0x2                392        CM                   serial_real_num_share_mem       
    0x98800000           0x98800003           1              0x300      0x2                392        CM                   node_event_version_share_mem 
  • Show the list of memory pools with the thread cache attribute.

    admin:/diagnose> dpumm_shm show attr localcash -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0xa0ba0000           0xa0ba0005           8192           0x108      0x2                523        NONE                 resp_wr_msg_pool_12             
    0xa0ba0000           0xa0ba0004           16384          0x108      0x2                523        NONE                 xnet_ack_0                      
    0xa0ba0000           0xa0ba0006           4096           0x108      0x2                523        NONE                 recv_wr_msg_pool_12             
    0xa0ba0000           0xa0ba0001           1              0x108      0x2                523        NONE                 pid_info_mem_12                 
    0xa0ba0000           0xa0ba0003           12288          0x108      0x2                523        NONE                 xnet_hb_0                       
    0xa0ba0000           0xa0ba0002           12288          0x108      0x2                523        NONE                 xnet_0                          
    0x9f0a0000           0x9f0a0001           16384          0x108      0x2                496        BDM_EIO              496_XNET_DATA_MSG               
    0x97ea0000           0x97ea0001           0              0x108      0x2                382        dpuc                 DPUC_RSP_DATA_EXTEND            
    0x88e10000           0x88e10007           1024           0x8        0x2                142        IO_SCHED             FAULT_REQ_POOL                  
    0x2c60000            0x2c60002            81922          0x8        0x2                705        SAS_INI_SAL          FRAME_INICMD_SHM_POOL_KEY       
    0x98100000           0x98100001           1000           0x48       0x2                385        dpumm_shm            global_page_pool                
    0xb84a0000           0xb84a0001           1024           0x108      0x2                900        FTDS                 900_XNET_DATA_MSG               
  • Show the list of memory with the attribute of requiring no reclamation.

    admin:/diagnose> dpumm_shm show attr norecover -app_data
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0x89730000           0x89730040           4              0x1        0x2                151        BDM                  spec_disk                       
    0x89700000           0x89700040           300            0x1        0x2                151        BDM                  ba_blk_sd                       
    0x89710000           0x89710040           300            0x1        0x2                151        BDM                  ba_blk_ld                       
    0x897f0000           0x897f0001           8              0x1        0x2                151        BDM                  VBC_CTL_INFO_S                  
    0x88e10000           0x88e10005           64             0x1        0x2                142        IO_SCHED             MASS_PROCESS_STATUS_POOL        
    0x88e10000           0x88e10004           2              0x1        0x2                142        IO_SCHED             MASS_THREAD_STAUS_POOL          
    0x88e10000           0x88e10006           2              0x1        0x2                142        IO_SCHED             MASS_PRODUCER_STATUS_POOL       
    0x88e10000           0x88e10003           5184           0x1        0x2                142        IO_SCHED             MASS_QUEUE_POOL                 
     
  • Show the list of memory pools with the long-term allocation failure detection attribute.

    admin:/diagnose>dpumm_shm show attr contAllocFailDetectable -app_data
     
    Partition ID         Pool ID              Total Object   Flag       Runtime Attribute  Module ID  Module Name          Pool Name                       
    -------------------- -------------------- -------------- ---------- ------------------ ---------- -------------------- --------------------------------
    0x98100000           0x98100001           6000000        0x448      0x1                385        dpumm_shm            global_page_pool                

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Partition ID

Partition ID.

Pool ID

ID of a memory pool.

Total Object

Number of fixed reserved memory slices.

Flag

Memory pool attribute.

Runtime Attribute

Attribute when the system is running.

Module ID

ID of the module to which the memory belongs.

Module Name

Name of the module to which the memory belongs.

Pool Name

Name of a memory pool.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 743281

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next