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).
sddebug show usecount

sddebug show usecount

Function

The sddebug show usecount command is used to query the usage information about the SCSI device, including the running status, type, reference count, I/O count, and WWN of the device.

Format

sddebug show usecount

sddebug show usecount usermode

Parameters

Parameter

Description

Value

usermode
  • When this parameter is mandatory, the current command can be used only in the user mode.
  • When this parameter is optional, the current command can be used in both the user mode and kernel mode.

The value is "-app_data", indicating that the command is executed in the user mode.

Views

Diagnostic view

Usage Guidelines

  • Run the "sddebug show usecount" command to query the SCSI device usage information, including the running status, type, reference count, I/O count, and WWN of the device.
  • Run the "sddebug show usecount -app_data" command to query the SCSI device usage in user mode, including the running status, type, reference count, I/O count, and WWN of the device.

Example

  • Query the usage information about the SCSI device.

    admin:/diagnose> sddebug show usecount
    sdevId  state  type  refcnt  busy   wwn
    ------ ------ ------ ------ ------ -------------
        32      0      0      1      0 0x301040105090206
      2112      0      2      1      0 0xc00000600
  • Query the usage information about the SCSI device.

    admin:/diagnose> sddebug show usecount -app_data
    sdevId  state  type  refcnt  busy   wwn
    ------ ------ ------ ------ ------ -------------
        64      0      0      1      0 0x504fe8dcbfaf8004
        65      0      0      1      0 0x504fe8dcbfaf8005
        66      0      0      1      0 0x504fe8dcbfaf8002
        67      0      0      1      0 0x504fe8dcbfaf8001
        68      0      0      1      0 0x504fe8dcbfaf8003
        69      0      0      1      0 0x504fe8dcbfaf8008
        70      0      0      1      0 0x504fe8dcbfaf8007
        71      0      0      1      0 0x504fe8dcbfaf800a
        72      0      0      1      0 0x504fe8dcbfaf8009
        73      0      0      1      0 0x504fe8dcbfaf800b
        74      0      0      1      0 0x504fe8dcbfaf8000

System Response

The following table describes the parameter meanings.

Parameter

Meaning

sdevId

Physical ID of the SCSI device.

state

Status of the SCSI device.

type

Type of the SCSI device.

refcnt

Reference count of the SCSI device.

busy

I/O count of the SCSI device.

wwn

WWN of the SCSI device.

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181602

Views: 848091

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next