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).
sys showlockhandle

sys showlockhandle

Function

The sys showlockhandle command is used to view the usage of locks.

Format

sys showlockhandle [ optype ]

Parameters

Parameter

Description

Value

optype

Lock type.

The value ranges from 0 to 7.

● 0: DB lock.

● 1: System lock.

● 2: GLUN lock.

● 3: LUN lock.

● 4: POOL lock.

● 5: POOL group lock.

● 6: Vnode group lock.

● 7: OBJ lock.

Views

Diagnostic view

Usage Guidelines

None

Example

View the usage of locks.

admin:/diagnose>sys showlockhandle 3 

current time: 2018-06-30 11:32:38     
      Acq Time             Locked Time        Pid     Type     Lock Id Sn            Function 
------------------- ------------------- ---- ----- -------  ---------- ------------------------------- 
2018-06-30 11:29:52 2018-06-30 11:29:52 256     Write 0          44005         diagDbgLockLun

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Acq Time

Acquired time.

Locked Time

Locked time.

Pid

ID of the module.

Type

Type of the lock.

Lock Id

ID of the lock.

Sn

Sequence number of the lock.

Function

Function.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 718172

Downloads: 36

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