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).
show nfs nfsv4_opened_files

show nfs nfsv4_opened_files

Function

The show nfs nfsv4_opened_files command is used to show the statistics on files opened by NFSv4 clients.

Format

show nfs nfsv4_opened_files [ client_ip=? ] [ sort_key=? sort_type=? ] [ controller=? ]

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.

sort_key=?

Sort key.

The value is an integer ranging from 200 to 202, where:

  • "OPEN_OWNER_COUNT": count of opened file owners.
  • "OPEN_STATEID_COUNT": stateid count of opened files.
  • "CLIENT_LEASE_TIME": time of the last client lease renewal.

sort_type=?

Sort type.

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

  • "ASCENDING": ascending.
  • "DESCENDING": descending.

Views

Developer view

Usage Guidelines

None

Example

  • Show the statistics on files opened by all NFSv4 clients.
    developer:/>show nfs nfsv4_opened_files 
    No.      Open Owner Count Open Stateid Count  Client IP Client Lease Time 
    ------------- ---------------------- ---------------------- --------- ----------------- 
    1         2             1        10.46.99.118  2018-1-1 18:02:01
  • Show the statistics on all files opened by the NFSv4 client whose IP address is 192.168.1.100.
    developer:/>show nfs nfsv4_opened_files client_ip=192.168.1.100 
    No.      Open Owner Count Open Stateid Count  Client IP Client Lease Time 
    ------------- ---------------------- --------------------  ----------- ------------------ 
    1         1             2        192.168.1.100  2018-1-4 8:09:10

System Response

The following table describes the parameter meanings.

Parameter

Meaning

No.

No.

Open Owner Count

Count of opened file owners.

Open Stateid Count

Stateid count of opened files.

Client IP

Client IP address.

Client Lease Time

Time of the last client lease renewal.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 663201

Downloads: 36

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