Skip to main content

statistics catalog counter show

Contributors
Suggest changes

Display the list of counters in an object

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

Description

This command displays the names and descriptions of counters. The displayed data is either node-specific or cluster-wide, depending on the objects specified.

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.

| [-describe ] (privilege: advanced) }

Displays detailed information about each counter, including privilege level, label, and whether the counter is a key counter.

-object <text> - Object (privilege: advanced)

Selects the object for which you want to display the list of counters. This parameter is required. To view a list of valid object names, type statistics catalog counter show-object`?` or statistics catalog object show .

[-counter <text>] - Counter (privilege: advanced)

Selects the counters that match this parameter value. If you do not specify this parameter, the command displays details for all counters.

[-filter <text>] - Filter Data (privilege: advanced)

Selects the counters that match this parameter value. For example, to display counters from node1, specify -filter "node_name=node1" .

[-label <text>,…​] - Labels for Array Counters (privilege: advanced)

Selects the counters that match this parameter value. A label is the name of the bucket to which an array counter belongs.

[-description <text>] - Description (privilege: advanced)

Selects the counters that match this parameter value.

[-privilege <text>] - Privilegel Level (privilege: advanced)

Selects the counters that match this parameter value.

[-is-key-counter {true|false}] - Is Key Counter (privilege: advanced)

Selects the counters that are key counters (true) or are not key counters (false). A key counter is a counter that uniquely identifies an instance across the cluster. The default setting is false. For example, "vserver_name" and "node_name" are key counters because they identify the specific Vserver or node to which the instance belongs.

[-is-deprecated {true|false}] - Is Counter Deprecated (privilege: advanced)

Selects the counters that are deprecated (true) or are not deprecated (false).

[-replaced-by <text>] - Replaced By Counter If Deprecated (privilege: advanced)

Selects all deprecated counters that are replaced by the counter provided to this parameter.

Examples

The following example displays the list of counters in the processor object.

cluster1::> statistics catalog counter show -object processor
Object: processor
    Counter                     Description
    --------------------------- ----------------------------------------------
    instance_name               Instance Name
    instance_uuid               Instance UUID
    node_name                   System node name
    node_uuid                   System node id
    process_name                Ontap process that provided this instance
    processor_busy              Percentage of elapsed time that the processor
                                is executing non-idle processes
    processor_elapsed_time      Wall-clock time since boot used for
                                calculating processor utilization
    sk_switches                 Number of sk switches per second
8 entries were displayed.