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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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).
tx mgr

tx mgr

Function

The tx mgr command is used to view transaction managers in a system (each transaction manager has a unique object ID).

Format

tx mgr -o objectId

Parameters

Parameter

Description

Value

objectId=?

ID of a transaction manager.

The value can be a specific transaction manager ID, all, or work.

  • A specific transaction manager, ID: a specific transaction manager.
  • all: all transaction managers.
  • work: transaction managers that have running task.

Views

Diagnostic view

Usage Guidelines

None

Example

  • View all the transaction managers in the system.
    admin:/diagnose>tx mgr -o all 
    Show All Tx Mgr Id 
    0x1000000100000000 
    0x1000000200000000 
    0x0000001000000002 
    0x0000001000000010 
    0x0000001000000006 
    0x000000100000000a 
    0x0000001000000014 
    0x0000001000000004 
    0x0000001000000016 
    0x0000001000000018 
    0x000000100000000c 
    0x000000100000001a 
    0x000000100000001c 
    0x000000100000000e 
    0x000000100000001e 
    0x0000001000000020 
    0x0000001000000012 
    0x0000001000000022 
    0x0000001000000024 
    0x0000001000000008 
    Traverse All Tx Mgr End.
  • View all the transaction managers that have running task in the system.
    admin:/diagnose>tx mgr -o work 
    Show Working Tx Mgr Info 
    + Transaction Manager (0x0000001000000002) 
    + txCnt 1 | status WORK | callback [No Func] | 
    + Tx List 0 | nextTxId 0x000000000000003a | 
    + commit list sum: 1 
    + TxObj| txId| pid| flag| logId| 
    alloc function| 
    + ffff880227ed2790| 3a| 216| CLEAR_LOG| 100000000037c36|__func__.77352 
    +0x0/0xfffffffffffe3dd0 [spa]| 
    + Tx List 2 | nextTxId 0x2000000000000001 | 
    + Tx List 4 | nextTxId 0x4000000000000001 | 
    Traverse All Tx Mgr End.
  • View the transaction manager whose object ID is 0x1000000100000000.
    admin:/diagnose>tx mgr -o 0x1000000100000000 
    Show Tx Mgr Info 
    + Transaction Manager (0x1000000100000000) 
    + txCnt 0 | status WORK | callback [No Func] | 
    + Tx List 0 | nextTxId 0x00000000000003bd | 
    + Tx List 2 | nextTxId 0x2000000000000024 | 
    + Tx List 3 | nextTxId 0x300000000000000e | 
    Traverse All Tx Mgr End.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

txCnt

Count of ongoing transactions in the transaction manager.

status

Status of the transaction manager.

callback

Callback function of the transaction manager.

nextTxId

ID of the next transaction of a type in the transaction manager.

TxObj

Memory address of the transaction object.

txId

ID of the transaction object.

pid

If there are unfinished transactions, some information about the transaction object is displayed. Pid indicates information about the module that uses the transaction object.

flag

If there are unfinished transactions, some information about the task object is displayed. Flag indicates the status of the transaction object.

logId

ID of the log corresponding to the transaction object.

alloc function

Callback function of the service module that handles the transaction object.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 666354

Downloads: 36

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