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

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 provided by DeviceManager, this document describes how to use various commands classified by functions and 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).
show statistic cifs_open

show statistic cifs_open

Function

The show statistic cifs_open command is used to query the CIFS open information.

Format

show statistic cifs_open controller=? [ index=? ] [ connection_id=? ] [ session_id=? ] [ durable_id=? ] [ share_id=? ] [ flags=? ] [ share_mode=? ] [ fsid=? ] [ fid=? ] [ version=? ] [ granted_access=? ] [ file_type=? ]

Parameters

Parameter

Description

Value

controller

Controller ID.

The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".

durable_id

Persistent handle ID.

The value is an integer ranging from 0 to 18446744073709551615.

share_id

Share ID.

The value is an integer ranging from 0 to 18446744073709551615.

fsid

File system ID.

The value is an integer ranging from 0 to 18446744073709551615.

fid

File ID.

The value is an integer ranging from 0 to 18446744073709551615.

version

CIFS protocol version.

The value can be "SMB1", "SMB2", or "SMB3".

file_type

File type.

The value can be "VNON", "VREG", "VDIR", "VBLK", "VCHR", "VLNK", "VFIFO", "VDOOR", "VPROC", "VSOCK", "VPORT", "VROOT", or "VBAD".

index

Index.

The value is an integer ranging from 0 to 4294967295.

Level

Guest,vstore guest

Usage Guidelines

None

Example

  • Query open statistics using the file system ID.
      
    admin:/>show statistic cifs_open controller=0B fsid=2 
      Index  Share Id  Durable Id  Version  Life(s)  Locks Num  File Type  Fid Fsid  Share Mode Str  Granted Access Str  Client IP     
      -----  --------  ----------  -------  -------  ---------  ---------  ----  ----  --------------  ------------------  ----------- 
      10     4         53249       SMB3     320736 0          VROOT      3     2     RWD           R                   10.46.35.133 
      59     4         262145      SMB3     320306 0          VDIR       4001  2     RWD             R                   10.46.35.133 
      73     4         319489      SMB3     320302 0          VROOT      3   2     RWD             R                   10.46.35.133
  • Query open statistics using the file system and file ID.
    admin:/>show statistic cifs_open controller=0B fsid=2 fid=3 
      Index  Share Id  Durable Id  Version  Life(s)  Locks Num  File Type  Fid  Fsid  Share Mode Str  Granted Access Str  Client IP     
      -----  --------  ----------  -------  -------  ---------  ---------  ---  ----  --------------  ------------------  ----------- 
      10     4         53249       SMB3     320775 0          VROOT      3 2     RWD             R                   10.46.35.133 
      73     4         319489      SMB3     320341 0          VROOT      3 2     RWD             R                   10.46.35.133
  • Query open statistics using the persistent handle ID.
    admin:/>show statistic cifs_open controller=0B durable_id=53249  
      Index              : 10          
      Share Id           : 4           
      Durable Id         : 53249       
      Version            : SMB3        
      Life(s)            : 342494      
      Locks Num        : 0           
      File Type          : VROOT       
      Fid                : 3           
      Fsid               : 2           
      Path               : \fs\        
      Share Mode Str     : RWD         
      Granted Access Str : R           
      Client IP          : 10.46.35.133 
  • Query open statistics.
    admin:/>show statistic cifs_open controller=0B 
      Index  Share Id  Durable Id  Version  Life(s)  Locks Num  File Type  Fid Fsid  Share Mode Str  Granted Access Str  Client IP     
      -----  --------  ----------  -------  -------  ---------  ---------  ----  ----  --------------  ------------------  ----------- 
      10     4         53249       SMB3     261534 0          VROOT      3     2     RWD             R                   10.46.35.133 
      59     4         262145      SMB3     261104 0          VDIR       4001  2     RWD             R                   10.46.35.133 
      73     4         319489      SMB3     261100 0          VROOT      3     2     RWD             R                   10.46.35.133 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Share Id

Share ID.

Durable Id

Persistent handle ID.

Version

CIFS protocol version.

Life(s)

Duration since the open is opened.

Locks Num

Number of granted scope locks.

File Type

File type.

Fid

File ID.

Fsid

File system ID.

Path

Path.

Index

Index.

Share Mode Str

Share permission flag.

Granted Access Str

Granted access.

Client IP

Client IP address.

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 329396

Downloads: 41

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