ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • statistics nfs show-v3

    Display NFSv3 statistics

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

    Description

    The statistics nfs show-v3 command displays the following statistics about the NFSv3 operations on each node in the cluster:

    • Result of the operations (success or failure)

    • Total number of null operations

    • Total number of getattr operations

    • Total number of setattr operations

    • Total number of lookup operations

    • Total number of access operations

    • Total number of readsymlink operations

    • Total number of read operations

    • Total number of write operations

    • Total number of create operations

    • Total number of mkdir operations

    • Total number of symlink operations

    • Total number of mknod operations

    • Total number of remove operations

    • Total number of rmdir operations

    • Total number of rename operations

    • Total number of link operations

    • Total number of readdir operations

    • Total number of readdirplus operations

    • Total number of fsstat operations

    • Total number of fsinfo operations

    • Total number of pathconf operations

    • Total number of commit operations

    • Total number of nfsv3 operations

    • Percent of null operations

    • Percent of getattr operations

    • Percent of setattr operations

    • Percent of lookup operations

    • Percent of access operations

    • Percent of readsymlink operations

    • Percent of read operations

    • Percent of write operations

    • Percent of create operations

    • Percent of mkdir operations

    • Percent of symlink operations

    • Percent of mknod operations

    • Percent of remove operations

    • Percent of rmdir operations

    • Percent of rename operations

    • Percent of link operations

    • Percent of readdir operations

    • Percent of readdirplus operations

    • Percent of fsstat operations

    • Percent of fsinfo operations

    • Percent of pathconf operations

    • Percent of commit 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 NFSv3 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 Operations

    If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of null 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.

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

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

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

    [-rsym <Counter with Delta>] - ReadSymlink Operations

    If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of readsymlink 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.

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

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

    [-mkdir <Counter with Delta>] - MkDir Operations

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

    [-symln <Counter with Delta>] - SymLink Operations

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

    [-mknod <Counter with Delta>] - MkNod Operations

    If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of mknod 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.

    [-rmdir <Counter with Delta>] - RmDir Operations

    If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of rmdir 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.

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

    [-rdir <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.

    [-rdirp <Counter with Delta>] - ReadDirPlus Operations

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

    [-fsstat <Counter with Delta>] - FsStat Operations

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

    [-fsinfo <Counter with Delta>] - FsInfo Operations

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

    [-pconf <Counter with Delta>] - PathConf Operations

    If you specify this parameter, the command displays statistics only about the node or nodes that have the specified number of pathconf 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.

    [-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 NFSv3 operations.

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

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

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

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

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

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

    [-lookup-pct <Counter with Delta>] - Percent LookUp Ops

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

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

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

    [-rsym-pct <Counter with Delta>] - Percent ReadSymlink Ops

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

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

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

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

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

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

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

    [-mkdir-pct <Counter with Delta>] - Percent MkDir Ops

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

    [-symln-pct <Counter with Delta>] - Percent SymLink Ops

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

    [-mknod-pct <Counter with Delta>] - Percent MkNod Ops

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

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

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

    [-rmdir-pct <Counter with Delta>] - Percent RmDir Ops

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

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

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

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

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

    [-rdir-pct <Counter with Delta>] - Percent ReadDir Ops

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

    [-rdirp-pct <Counter with Delta>] - Percent ReadDirPlus Ops

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

    [-fsstat-pct <Counter with Delta>] - Percent FsStat Ops

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

    [-fsinfo-pct <Counter with Delta>] - Percent FsInfo Ops

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

    [-pconf-pct <Counter with Delta>] - Percent PathConf Ops

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

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

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

    Examples

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

    cluster1::> statistics nfs show-v3 -node node1
    
    Node                Value             Delta           Percent Ops   Delta
    node1            ---------------------------success-----------------------
    Null Ops:                    4             -              7%             -
    GetAttr Ops:                10             -             19%             -
    SetAttr Ops:                 2             -              4%             -
    Lookup Ops:                  2             -              4%             -
    Access Ops:                 14             -             26%             -
    ReadSymlink Ops:             0             -              0%             -
    Read Ops:                    0             -              0%             -
    Write Ops:                   0             -              0%             -
    Create Ops:                  2             -              4%             -
    MkDir Ops:                   1             -              2%             -
    Symlink Ops:                 0             -              0%             -
    MkNod Ops:                   0             -              0%             -
    Remove Ops:                  1             -              2%             -
    RmDir Ops:                   0             -              0%             -
    Rename Ops:                  0             -              0%             -
    Link Ops:                    0             -              0%             -
    ReadDir Ops:                 2             -              4%             -
    ReadDirPlus Ops:            10             -             19%             -
    FsStat Ops:                  1             -              2%             -
    FsInfo Ops:                  5             -              9%             -
    PathConf Ops:                0             -              0%             -
    Commit Ops:                  0             -              0%             -
    Total Ops:                  54             -
    
    Node                Value             Delta           Percent Ops   Delta
    node1            ---------------------------failure-----------------------
    Null Ops:                    0             -              0%             -
    GetAttr Ops:                 0             -              0%             -
    SetAttr Ops:                 0             -              0%             -
    Lookup Ops:                  2             -            100%             -
    Access Ops:                  0             -              0%             -
    ReadSymlink Ops:             0             -              0%             -
    Read Ops:                    0             -              0%             -
    Write Ops:                   0             -              0%             -
    Create Ops:                  0             -              0%             -
    MkDir Ops:                   0             -              0%             -
    Symlink Ops:                 0             -              0%             -
    MkNod Ops:                   0             -              0%             -
    Remove Ops:                  0             -              0%             -
    RmDir Ops:                   0             -              0%             -
    Rename Ops:                  0             -              0%             -
    Link Ops:                    0             -              0%             -
    ReadDir Ops:                 0             -              0%             -
    ReadDirPlus Ops:             0             -              0%             -
    FsStat Ops:                  0             -              0%             -
    FsInfo Ops:                  0             -              0%             -
    PathConf Ops:                0             -              0%             -
    Commit Ops:                  0             -              0%             -
    Total Ops:                   2             -
    
    Node                Value             Delta           Percent Ops   Delta
    node1            ---------------------------  all  -----------------------
    Null Ops:                    4             -              7%             -
    GetAttr Ops:                10             -             18%             -
    SetAttr Ops:                 2             -              4%             -
    Lookup Ops:                  4             -              7%             -
    Access Ops:                 14             -             25%             -
    ReadSymlink Ops:             0             -              0%             -
    Read Ops:                    0             -              0%             -
    Write Ops:                   0             -              0%             -
    Create Ops:                  2             -              4%             -
    MkDir Ops:                   1             -              2%             -
    Symlink Ops:                 0             -              0%             -
    MkNod Ops:                   0             -              0%             -
    Remove Ops:                  1             -              2%             -
    RmDir Ops:                   0             -              0%             -
    Rename Ops:                  0             -              0%             -
    Link Ops:                    0             -              0%             -
    ReadDir Ops:                 2             -              4%             -
    ReadDirPlus Ops:            10             -             18%             -
    FsStat Ops:                  1             -              2%             -
    FsInfo Ops:                  5             -              9%             -
    PathConf Ops:                0             -              0%             -
    Commit Ops:                  0             -              0%             -
    Total Ops:                  56             -
    Top of Page