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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
show statistic cifs_connection

show statistic cifs_connection

Function

The show statistic cifs_connection command is used to view the CIFS connection information.

Format

show statistic cifs_connection controller=? [ client_ip=? [ client_port=? ] ] [ share_id=? ] [ user_name=? ] [ sort_key=? display_option=? ] [ connection_id=? ] [ session_id=? ] [ server_ip=? ] [ query_tenant_id=? ]

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".

client_ip

Client IP address.

IPv4 or IPv6 address.

client_port

Client port number.

The value is an integer ranging from 0 to 65535.

share_id

Indicates the ID of the CIFS share.

The value is an integer ranging from 0 to 18,446,744,073,709,551,615.

user_name

User name.

The user name is a character string consisting of 1 to 514 characters.

sort_key

Sort key.

The value is an integer ranging from 0 to 5,where:

  • OPEN_COUNT: Number of opened handles.
  • CONNECTION_LIFE: Effective time of the link, expressed in seconds.
  • MAX_BLOCK_SIZE: Maximum block size.
  • RECEIVE_BYTES: Number of received bytes.
  • SEND_BYTES: Number of sent bytes.
  • IS_SIGNED: Whether to sign.

display_option

Display option.

The value is an integer ranging from 0 to 1,where:

  • ASCENDING: Ascending.
  • DESCENDING: Descending.

connection_id

Connection ID.

The value is an integer ranging from 0 to 18446744073709551615.

session_id

Session ID.

The value is an integer ranging from 0 to 18446744073709551615.

server_ip

Server IP address.

IPv4 or IPv6 address.

query_tenant_id

Tenant ID.

The value is an integer ranging from 0 to 4294967295.

Views

Developer view, vstore developer view

Usage Guidelines

None

Example

  • Query information about CIFS connection.
    developer:/>show statistic cifs_connection controller=0B 
    Total Count:2 
    Displayed Count:2              
    Connection ID        Version  Life        Open Count  Server IP         Client IP         Client Port  User Name 
    -------------------- -------- ----------- ----------- ----------------- ----------------- ------------ ----------  
    10                   3        262         2           10.47.35.201       10.47.35.134       52655        localhost\huawei1234 
    0                    1        242         1           10.47.35.211       10.47.35.134       52656        localhost\huawei123             
  • Query information about CIFS connection of the specified client IP address.
    developer:/>show statistic cifs_connection controller=0B client_ip=10.47.35.134 
    Total Count:2 
    Displayed Count:2              
    Client IP:10.47.35.134 
    Connection ID        Session ID           Version  Life        Open Count  Max BlockSize  Receive Bytes        Send Bytes           Signed  Server IP         Client Port  User Name 
    -------------------- -------------------- -------- ----------- ----------- -------------- -------------------- -------------------- ------- ----------------- ------------ ----------  
    1                    12821826410607808513 3        466         2           131072         5703                 6476                 1       10.47.35.201       50168        localhost\huawei1234 
    0                    0                    1        463         0           16644          1310                 1301                 1       10.47.35.211       50169        localhost\huawei123
  • Query information about CIFS connection of the specified client IP address and client port.
    developer@vStore002:/>show statistic cifs_connection controller=0B client_ip=10.47.35.134 client_port=60520 
    Total Count: 1 
    Displayed Count:1              
    ---------------------------------------------- 
    Connection ID:  10 
    Session ID:     1734189789898383361 
    Client IP:      10.47.35.134 
    Client Port: 60520 
    Server IP:      10.47.35.221 
    Version:        3 
    Open Count:     2 
    Life:           501 
    Max BlockSize:  131072 
    Receive Bytes:  24197 
    Send Bytes:     13731310 
    Signed:         1 
    Share id:       7 
    User Name:      localhost\huawei123 
    Uid:            100003 
    Gid:            100000,920000011 
    Mapped Uid:     100003 
    Mapped Gid:     100000,920000011

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Client IP

Client IP address.

User Name

Username.

Server IP

Server IP address.

Client Port

Client port.

Version

Version.

Open Count

Number of opened handles.

Life

Effective time of the link, expressed in seconds.

Max BlockSize

Maximum block size.

Receive Bytes

Number of received bytes.

Send Bytes

Number of sent bytes.

Signed

Whether to sign.

Share ID

Share ID.

Uid

User information.

Gid

Group information.

Mapped Uid

Mapped user information.

Mapped Gid

Mapped group information.

Connection ID

Connection ID.

Session ID

Session ID.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 631493

Downloads: 252

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