Skip to main content

statistics-v1 nfs show-v4

Contributors
Suggest changes

Display NFSv4 statistics

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The statistics-v1 nfs show-v4 command displays the following statistics about the NFSv4 operations on each node in the cluster:

  • Result of the operations (success or failure)

  • Total number of null operations

  • Total number of compound operations

  • Total number of access operations

  • Total number of close operations

  • Total number of commit operations

  • Total number of create operations

  • Total number of delegpurge operations

  • Total number of delegret operations

  • Total number of getattr operations

  • Total number of getfh operations

  • Total number of link operations

  • Total number of lock operations

  • Total number of lockt operations

  • Total number of locku operations

  • Total number of lookup operations

  • Total number of lookupp operations

  • Total number of nverify operations

  • Total number of open operations

  • Total number of openattr operations

  • Total number of openconf operations

  • Total number of opendowng operations

  • Total number of putfh operations

  • Total number of putpubfh operations

  • Total number of putrootfh operations

  • Total number of read operations

  • Total number of readdir operations

  • Total number of readlink operations

  • Total number of remove operations

  • Total number of rename operations

  • Total number of renew operations

  • Total number of restorefh operations

  • Total number of savefh operations

  • Total number of secinfo operations

  • Total number of setattr operations

  • Total number of setcliid operations

  • Total number of setcliidconf operations

  • Total number of verify operations

  • Total number of write operations

  • Total number of rellockown operations

  • Total number of total operations

  • Percent of null operations

  • Percent of compound operations

  • Percent of access operations

  • Percent of close operations

  • Percent of commit operations

  • Percent of create operations

  • Percent of delegpurge operations

  • Percent of delegret operations

  • Percent of getattr operations

  • Percent of getfh operations

  • Percent of link operations

  • Percent of lock operations

  • Percent of lockt operations

  • Percent of locku operations

  • Percent of lookup operations

  • Percent of lookupp operations

  • Percent of nverify operations

  • Percent of open operations

  • Percent of openattr operations

  • Percent of openconf operations

  • Percent of opendowng operations

  • Percent of putfh operations

  • Percent of putpubfh operations

  • Percent of putrootfh operations

  • Percent of read operations

  • Percent of readdir operations

  • Percent of readlink operations

  • Percent of remove operations

  • Percent of rename operations

  • Percent of renew operations

  • Percent of restorefh operations

  • Percent of savefh operations

  • Percent of secinfo operations

  • Percent of setattr operations

  • Percent of setcliid operations

  • Percent of setCliidconf operations

  • Percent of verify operations

  • Percent of write operations

  • Percent of rellockown operations

This command is designed to be used to analyze performance characteristics and to help diagnose issues.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

If you specify this parameter, the command displays NFSv4 statistics only for the specified node.

[-result {success|failure|all}] - Result

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified result (success/failure/all).

[-null <Counter with Delta>] - Null Procedure

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of null operations.

[-cmpnd <Counter with Delta>] - Compound Procedure

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of compound operations.

[-access <Counter with Delta>] - Access Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of access operations.

[-close <Counter with Delta>] - Close Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of close operations.

[-commit <Counter with Delta>] - Commit Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of commit operations.

[-create <Counter with Delta>] - Create Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of create operations.

[-delpur <Counter with Delta>] - Delegpurge Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of delegpurge operations.

[-delrtn <Counter with Delta>] - Delegret Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of delegret operations.

[-gattr <Counter with Delta>] - GetAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of getattr operations.

[-getfh <Counter with Delta>] - GetFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of getfh operations.

[-link <Counter with Delta>] - Link Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of link operations.

[-lock <Counter with Delta>] - Lock Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of lock operations.

[-lockt <Counter with Delta>] - LockT Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of lockt operations.

[-locku <Counter with Delta>] - LockU Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of locku operations.

[-lookup <Counter with Delta>] - Lookup Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of lookup operations.

[-lookpp <Counter with Delta>] - LookupP Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of lookupp operations.

[-nverfy <Counter with Delta>] - Nverify Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of nverify operations.

[-open <Counter with Delta>] - Open Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of open operations.

[-opattr <Counter with Delta>] - OpenAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of openattr operations.

[-opconf <Counter with Delta>] - OpenConf Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of openconf operations.

[-opndg <Counter with Delta>] - OpenDowng Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of opendowng operations.

[-putfh <Counter with Delta>] - PutFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of putfh operations.

[-putpfh <Counter with Delta>] - PutPubFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of putpubfh operations.

[-putrfh <Counter with Delta>] - PutRootFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of putrootfh operations.

[-read <Counter with Delta>] - Read Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of read operations.

[-readdr <Counter with Delta>] - ReadDir Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of readdir operations.

[-rlink <Counter with Delta>] - ReadLink Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of readlink operations.

[-remove <Counter with Delta>] - Remove Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of remove operations.

[-rename <Counter with Delta>] - Rename Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of rename operations.

[-renew <Counter with Delta>] - Renew Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of renew operations.

[-restfh <Counter with Delta>] - RestoreFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of restorefh operations.

[-savefh <Counter with Delta>] - SaveFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of savefh operations.

[-secinf <Counter with Delta>] - SecInfo Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of secinfo operations.

[-sattr <Counter with Delta>] - SetAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of setattr operations.

[-sclid <Counter with Delta>] - SetCliId Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of setcliid operations.

[-scidc <Counter with Delta>] - SetCliIdConf Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of setcliidconf operations.

[-verify <Counter with Delta>] - Verify Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of verify operations.

[-write <Counter with Delta>] - Write Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of write operations.

[-relown <Counter with Delta>] - RelLockOwn Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of rellockown operations.

[-total <Counter64 with Delta>] - Total Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of total nfsv4 operations.

[-null-pct <Counter with Delta>] - Percent Null Procedure

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of null operations.

[-cmpnd-pct <Counter with Delta>] - Percent Compound Procedure

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of compound operations.

[-access-pct <Counter with Delta>] - Percent Access Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of access operations.

[-close-pct <Counter with Delta>] - Percent Close Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of close operations.

[-commit-pct <Counter with Delta>] - Percent Commit Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of commit operations.

[-create-pct <Counter with Delta>] - Percent Create Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of create operations.

[-delpur-pct <Counter with Delta>] - Percent Delegpurge Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of delegpurge operations.

[-delrtn-pct <Counter with Delta>] - Percent Delegret Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of delegret operations.

[-gattr-pct <Counter with Delta>] - Percent GetAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of getattr operations.

[-getfh-pct <Counter with Delta>] - Percent GetFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of getfh operations.

[-link-pct <Counter with Delta>] - Percent Link Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of link operations.

[-lock-pct <Counter with Delta>] - Percent Lock Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of lock operations.

[-lockt-pct <Counter with Delta>] - Percent LockT Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of lockt operations.

[-locku-pct <Counter with Delta>] - Percent LockU Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of locku operations.

[-lookup-pct <Counter with Delta>] - Percent Lookup Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of lookup operations.

[-lookpp-pct <Counter with Delta>] - Percent LookupP Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of lookupp operations.

[-nverfy-pct <Counter with Delta>] - Percent Nverify Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of nverify operations.

[-open-pct <Counter with Delta>] - Percent Open Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of open operations.

[-opattr-pct <Counter with Delta>] - Percent OpenAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of openattr operations.

[-opconf-pct <Counter with Delta>] - Percent OpenConf Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of openconf operations.

[-opndg-pct <Counter with Delta>] - Percent OpenDowng Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of opendowng operations.

[-putfh-pct <Counter with Delta>] - Percent PutFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of putfh operations.

[-putpfh-pct <Counter with Delta>] - Percent PutPubFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of putpubfh operations.

[-putrfh-pct <Counter with Delta>] - Percent PutRootFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of putrootfh operations.

[-read-pct <Counter with Delta>] - Percent Read Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of read operations.

[-readdr-pct <Counter with Delta>] - Percent ReadDir Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of readdir operations.

[-rlink-pct <Counter with Delta>] - Percent ReadLink Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of readlink operations.

[-remove-pct <Counter with Delta>] - Percent Remove Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of remove operations.

[-rename-pct <Counter with Delta>] - Percent Rename Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of rename operations.

[-renew-pct <Counter with Delta>] - Percent Renew Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of renew operations.

[-restfh-pct <Counter with Delta>] - Percent RestoreFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of restorefh operations.

[-savefh-pct <Counter with Delta>] - Percent SaveFh Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of savefh operations.

[-secinf-pct <Counter with Delta>] - Percent SecInfo Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of secinfo operations.

[-sattr-pct <Counter with Delta>] - Percent SetAttr Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of setattr operations.

[-sclid-pct <Counter with Delta>] - Percent SetCliId Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of setcliid operations.

[-scidc-pct <Counter with Delta>] - Percent SetCliIdConf Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of setcliidconf operations.

[-verify-pct <Counter with Delta>] - Percent Verify Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of verify operations.

[-write-pct <Counter with Delta>] - Percent Write Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of write operations.

[-relown-pct <Counter with Delta>] - Percent RelLockOwn Operations

If you specify this parameter, the command displays statistics only about the node or nodes that have the specified percentage of rellockown operations.

Examples

The following example displays statistics about the NFSv4 operations for a node named node1:

cluster1::> statistics-v1 nfs show-v4 -node node1

Node                Value             Delta           Percent Ops   Delta
node1            ---------------------------success-----------------------
Null Procs:                  2             -              1%             -
Cmpnd Procs:                92             -                             -
Access Ops:                 16             -              6%             -
Close Ops:                   8             -              3%             -
Commit Ops:                  0             -              0%             -
Create Ops:                  0             -              0%             -
Delpur Ops:                  0             -              0%             -
Delrtn Ops:                  0             -              0%             -
Getattr Ops:                76             -             27%             -
Getfh Ops:                  22             -              8%             -
Link Ops:                    0             -              0%             -
Lock Ops:                    0             -              0%             -
Lockt Ops:                   0             -              0%             -
Locku Ops:                   0             -              0%             -
Lookup Ops:                 13             -              5%             -
Lookupp Ops:                 0             -              0%             -
Nverify Ops:                 0             -              0%             -
Open Ops:                    8             -              3%             -
Openattr Ops:                0             -              0%             -
Openconf Ops:                0             -              0%             -
Opendowng Ops:               0             -              0%             -
Putfh Ops:                  92             -             32%             -
Putpubfh Ops:                0             -              0%             -
Putrootfh Ops:               2             -              1%             -
Read Ops:                    0             -              0%             -
Readdir Ops:                 2             -              1%             -
Readlink Ops:                0             -              0%             -
Remove Ops:                  5             -              2%             -
Rename Ops:                  3             -              1%             -
Renew Ops:                   0             -              0%             -
Restorefh Ops:              11             -              4%             -
Savefh Ops:                 13             -              5%             -
Secinfo Ops:                 0             -              0%             -
Setattr Ops:                 8             -              3%             -
Setclid Ops:                 1             -              0%             -
Setclidconf Ops:             1             -              0%             -
Verify Ops:                  0             -              0%             -
Write Ops:                   3             -              1%             -
Rlockown Ops:                0             -              0%             -
Total Ops:                 286             -
Node                Value             Delta           Percent Ops   Delta
node1            ---------------------------failure-----------------------
Null Procs:                  0             -              0%             -
Cmpnd Procs:                 0             -                             -
Access Ops:                  0             -              0%             -
Close Ops:                   0             -              0%             -
Commit Ops:                  0             -              0%             -
Create Ops:                  0             -              0%             -
Delpur Ops:                  0             -              0%             -
Delrtn Ops:                  0             -              0%             -
Getattr Ops:                 0             -              0%             -
Getfh Ops:                   0             -              0%             -
Link Ops:                    0             -              0%             -
Lock Ops:                    0             -              0%             -
Lockt Ops:                   0             -              0%             -
Locku Ops:                   0             -              0%             -
Lookup Ops:                  5             -             63%             -
Lookupp Ops:                 0             -              0%             -
Nverify Ops:                 0             -              0%             -
Open Ops:                    2             -             25%             -
Openattr Ops:                0             -              0%             -
Openconf Ops:                0             -              0%             -
Opendowng Ops:               0             -              0%             -
Putfh Ops:                   0             -              0%             -
Putpubfh Ops:                0             -              0%             -
Putrootfh Ops:               0             -              0%             -
Read Ops:                    0             -              0%             -
Readdir Ops:                 0             -              0%             -
Readlink Ops:                0             -              0%             -
Remove Ops:                  0             -              0%             -
Rename Ops:                  0             -              0%             -
Renew Ops:                   0             -              0%             -
Restorefh Ops:               0             -              0%             -
Savefh Ops:                  0             -              0%             -
Secinfo Ops:                 0             -              0%             -
Setattr Ops:                 1             -             13%             -
Setclid Ops:                 0             -              0%             -
Setclidconf Ops:             0             -              0%             -
Verify Ops:                  0             -              0%             -
Write Ops:                   0             -              0%             -
Rlockown Ops:                0             -              0%             -
Total Ops:                   8             -
Node                Value             Delta           Percent Ops   Delta
node1            ---------------------------  all  -----------------------
Null Procs:                  2             -              1%             -
Cmpnd Procs:                92             -                             -
Access Ops:                 16             -              5%             -
Close Ops:                   8             -              3%             -
Commit Ops:                  0             -              0%             -
Create Ops:                  0             -              0%             -
Delpur Ops:                  0             -              0%             -
Delrtn Ops:                  0             -              0%             -
Getattr Ops:                76             -             26%             -
Getfh Ops:                  22             -              7%             -
Link Ops:                    0             -              0%             -
Lock Ops:                    0             -              0%             -
Lockt Ops:                   0             -              0%             -
Locku Ops:                   0             -              0%             -
Lookup Ops:                 18             -              6%             -
Lookupp Ops:                 0             -              0%             -
Nverify Ops:                 0             -              0%             -
Open Ops:                   10             -              3%             -
Openattr Ops:                0             -              0%             -
Openconf Ops:                0             -              0%             -
Opendowng Ops:               0             -              0%             -
Putfh Ops:                  92             -             31%             -
Putpubfh Ops:                0             -              0%             -
Putrootfh Ops:               2             -              1%             -
Read Ops:                    0             -              0%             -
Readdir Ops:                 2             -              1%             -
Readlink Ops:                0             -              0%             -
Remove Ops:                  5             -              2%             -
Rename Ops:                  3             -              1%             -
Renew Ops:                   0             -              0%             -
Restorefh Ops:              11             -              4%             -
Savefh Ops:                 13             -              4%             -
Secinfo Ops:                 0             -              0%             -
Setattr Ops:                 9             -              3%             -
Setclid Ops:                 1             -              0%             -
Setclidconf Ops:             1             -              0%             -
Verify Ops:                  0             -              0%             -
Write Ops:                   3             -              1%             -
Rlockown Ops:                0             -              0%             -
Total Ops:                 294             -