ONTAP 9.14.1 commands

qos statistics resource cpu show

Display CPU resource utilization data per QoS policy group

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

Description

The qos statistics resource cpu show command displays the CPU utilization for QoS policy groups per node.

The command displays the following data:

  • The QoS policy group name (Policy Group)

  • CPU utilization observed in percentage (CPU)

The results displayed per iteration are sorted by total CPU utilization. Each iteration starts with a row that displays the total CPU utilization across all QoS policy groups.

Parameters

-node {<nodename>|local} - Node

Selects the policy groups that match this parameter value.

[-iterations <integer>] - Number of Iterations

Specifies the number of times the display is refreshed before terminating. If you do not specify this parameter, the command iterates until interrupted by Ctrl-C.

{ [-rows <integer>] - Number of Rows in the Output

Specifies the number of busiest QoS policy groups to display. Valid values are from 1 to 20. The default value is 10.

| [-policy-group <text>] - QoS Policy Group Name

Selects the QoS policy group whose name matches the specified value. If you do not specify this parameter, the command displays data for all QoS policy groups.

| [-adaptive-policy-group <text>] - Adaptive QoS Policy Group Name }

Selects the QoS adaptive policy group whose name matches the specified value. If you do not specify this parameter, the command displays data for all QoS policy groups.

[-refresh-display {true|false}] - Toggle Screen Refresh Between Each Iteration

Specifies the display style. If true, the command clears the display after each data iteration. If false, the command displays each data iteration below the previous one. The default is false.

Examples

cluster1::> qos statistics resource cpu show -node nodeA -iterations 100 -rows 3
         Policy Group           CPU
         -------------------- -----
         -total- (100%)          9%
         fast                    1%
         slow                    3%
         medium                  5%
         -total- (100%)          8%
         slow                    1%
         fast                    3%
         medium                  3%

The example above displays the total CPU utilization for the 3 QoS policy groups with the highest CPU utilization and it refreshes the display 100 times before terminating.

cluster1::> qos statistics resource cpu show -node local -iterations 100 -policy-group pg1
         Policy Group           CPU
         -------------------- -----
         -total- (100%)          7%
         pg1                     1%
         -total- (100%)          7%
         pg1                     1%
         -total- (100%)          7%
         pg1                     1%
         -total- (100%)         10%
         pg1                     1%

The example above displays the total CPU utilization for the QoS policy group pg1 and refreshes the display 100 times before terminating.

Top of Page