ONTAP 9.12.1 commands

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

    (DEPRECATED)-Display NLM statistics

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

    Description

    The statistics-v1 nfs show-nlm command displays the following statistics about the Network Lock Manager (NLM) on each node in the cluster:

    • Result of the operations (success or failure)

    • Total number of null operations

    • Total number of test operations

    • Total number of lock operations

    • Total number of cancel operations

    • Total number of unlock operations

    • Total number of granted operations

    • Total number of share operations

    • Total number of unshare operations

    • Total number of nmlock operations

    • Total number of freeall operations

    • Total number of all the above operations

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

    This command requires an effective cluster version earlier than Data ONTAP 9.0. Data for nodes running Data ONTAP 9.0 or later is not collected, and will not be displayed. Use the statistics show`-object`nlm command instead.

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

    [-test <Counter with Delta>] - Test Operations

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

    [-cancel <Counter with Delta>] - Cancel Operations

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

    [-unlock <Counter with Delta>] - Unlock Operations

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

    [-granted <Counter with Delta>] - Granted Operations

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

    [-share <Counter with Delta>] - Share Operations

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

    [-unshare <Counter with Delta>] - Unshare Operations

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

    [-nmlock <Counter with Delta>] - NmLock Operations

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

    [-freeall <Counter with Delta>] - FreeAll Operations

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

    Examples

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

    cluster1::*> statistics-v1 nfs show-nlm -node node1
    
    Node                 Value         Delta
    node1             --------success-------
    Null:                    0             -
    Test:                    0             -
    Lock:                    2       0/s:23s
    Cancel:                  0             -
    Unlock:                  1       0/s:23s
    Granted:                 0             -
    Share:                   0             -
    Unshare:                 0             -
    NmLock:                  0             -
    FreeAll:                 0             -
    Total:                   3       0/s:23s
    
    Node                 Value         Delta
    node1             --------failure-------
    Null:                    0             -
    Test:                    0             -
    Lock:                    0             -
    Cancel:                  0             -
    Unlock:                  0             -
    Granted:                 0             -
    Share:                   0             -
    Unshare:                 0             -
    NmLock:                  0             -
    FreeAll:                 0             -
    Total:                   0             -
    Top of Page