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).
xnet showreactor

xnet showreactor

Function

The xnet showreactor command is used to query reactor information.

Format

xnet showreactor -i [reactor id] -n [peer nid]/ -a -usermode

Parameters

Parameter

Description

Value

reactor id Reactor index number.

The value can be "0" or "1".

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

  • Query RDMA reactor information.

    admin:/diagnose>xnet showreactor -i 0 -n 786433 -app_data
    ---------------- show reactor : 0   --------------------------
    id reactor     
    0  0x23dbbe8   
    thread_num: 8    dead_loop: 1    bind: 1  
    idx poll              name        pri conn_cnt peer_nid       bind_cpu 
    0   0xffff0ef0c0b8                H   1        0xc0001             34 
    1   0xffff0ef0cab8                H   1        0xc0001             35 
    2   0xffff0ef0a0b8                H   1        0xc0001             82 
    3   0xffff0ef0aab8                H   1        0xc0001             83 
    4   0xffff0ef080b8                H   1        0xc0001             130
    5   0xffff0ef08ab8                H   1        0xc0001             131
    6   0xffff0ef060b8                H   1        0xc0001             178
    7   0xffff0ef06ab8                H   1        0xc0001             179
    ---------------------------------------------------------------
     
  • Query TCP reactor information.

    admin:/diagnose>xnet showreactor -i 1 -n 786433 -app_data
    ---------------- show reactor : 1   --------------------------
    id reactor     
    1  0x23dce60   
    thread_num: 1    dead_loop: 0    bind: 0  
    idx poll              name        pri conn_cnt peer_nid       bind_cpu 
    0   0xffff0ec680b8    xnet_r0_0   H   2        0xc0001             
    ---------------------------------------------------------------
  • Query all reactor information.

    admin:/diagnose>xnet showreactor -a -app_data
    -------------------- show reactor -----------------------------
    ---------------- show reactor : 0   --------------------------
    id reactor     
    0  0xdbaf38    
    thread_num: 1    dead_loop: 1    bind: 1  
    idx poll              name        pri sch_maxtime       bind_cpu 
    ---------------- show reactor : 1   --------------------------
    id reactor     
    1  0xdbc1b0    
    thread_num: 1    dead_loop: 0    bind: 0  
    idx poll              name        pri sch_maxtime       bind_cpu 
    ---------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

id

Reactor index number.

reactor

Reactor.

thread_num

Count of threads.

dead_loop

Whether the system uses infinite loops.

bind

Whether CPU pinning is used.

idx

Thread index.

poll

Pointer to the thread management structure.

name

Thread name.

pri

Thread priority.

sch_maxtime

Thread scheduling interval.

bind_cpu

Pinned CPU core number.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 756696

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next