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 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, 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_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", "XB", "XC", or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".

client_ip Client IP address.

The value is an IPv4 or IPv6 address.

client_port Client port number.

The value is an integer ranging from 0 to 65535.

share_id CIFS share ID.

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.
  • "SESSION_COUNT": number of opened sessions.
  • "TREE_COUNT": number of opened trees.
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.

The value is an IPv4 or IPv6 address.

query_tenant_id vStore 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 connections.

    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\vendor
    0                    1        242         1           10.47.35.211       10.47.35.134       52656        localhost\vendor
  • Query information about the CIFS connections 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\vendor
    0                    0                    1        463         0           16644          1310                 1301                 1        10.47.35.211       50169        localhost\vendor
  • Query information about the 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\vendor
    Uid:            100003
    Gid:            100000,920000011
    Mapped Uid:     100003
    Mapped Gid:     100000,920000011
    Session Count:  2
    Tree Count:     2
    Disk Tree Count:2
  • Query information about CIFS connections.

    developer:/>show statistic cifs_connection controller=0A sort_key=SESSION_COUNT display_option=ASCENDING
    Total Count:2
    Displayed Count:2             
    Connection ID        Session ID           Version  Life        Open Count  Session Count Tree Count Max BlockSize  Receive Bytes        Send Bytes           Signed  Server IP         Client IP         Client Port  User Name  
    -------------------- -------------------- -------- ----------- ----------- ------------- ---------- -------------- -------------------- -------------------- ------- ----------------- ----------------- ------------ ---------- 
    7                    1538217871065247744  2        2090        2           2             2          131072         5559                 5802                 0       8.46.166.180      8.46.35.145       55988        localhost\vendor
    5                    1538217871065247745  2        2091        2           3             2          131072         5559                 5802                 0       8.46.166.180      8.46.35.145       55989        localhost\vendor
  • Query information about CIFS connections.

    developer:/>show statistic cifs_connection controller=0A sort_key=TREE_COUNT display_option=ASCENDING
    Total Count:2
    Displayed Count:2             
    Connection ID        Session ID           Version  Life        Open Count  Session Count Tree Count Max BlockSize  Receive Bytes        Send Bytes           Signed  Server IP         Client IP         Client Port  User Name  
    -------------------- -------------------- -------- ----------- ----------- ------------- ---------- -------------- -------------------- -------------------- ------- ----------------- ----------------- ------------ ---------- 
    7                    1538217871065247744  2        2090        2           2             2          131072         5559                 5802                 0       8.46.166.180      8.46.35.145       55988        localhost\vendor
    5                    1538217871065247745  2        2091        2           2             3          131072         5559                 5802                 0       8.46.166.180      8.46.35.145       55989        localhost\vendor

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Client IP

Client IP address.

User Name

User name.

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

User group information.

Mapped Uid

Mapped user information.

Mapped Gid

Mapped user group information.

Connection ID

Connection ID.

Session ID

Session ID.

Session Count

Number of opened sessions.

Tree Count

Number of opened trees.

Disk Tree Count

Number of opened shares.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 725709

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next