qos statistics workload resource cpu show
Display CPU resource utilization data per QoS workload
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The qos statistics workload resource cpu show
command displays the CPU utilization for QoS workloads per node.
The command displays the following data:
-
The QoS workload name (Workload)
-
The QoS workload ID (ID)
-
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 workloads.
Parameters
-node {<nodename>|local}
- Node-
Selects the QOS workloads 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.
[-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.
- {
[-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 workloads that belong to the QoS policy group specified by this parameter value. If you do not specify this parameter, the command displays data for all QoS workloads.
- |
[-adaptive-policy-group <text>]
- Adaptive QoS Policy Group Name -
Selects the QoS workloads that belong to the QoS adaptive policy group specified by this parameter value. If you do not specify this parameter, the command displays data for all QoS workloads.
- |
[-workload <text>]
- QoS Workload Name -
Selects the QoS workload that match this parameter value. If you do not specify this parameter, the command displays data for all QoS workloads.
- |
[-workload-id <integer>]
- QoS Workload ID } -
Selects the QoS workload that match the QoS workload ID specified by this parameter value.
[-show-flexgroup-as-constituents {true|false}]
- Display Flexgroups as Constituents-
If the parameter is specified and if the value is true, it will display data for FlexVols and Flexgroup Constituents. Otherwise it will display data for FlexVols and Flexgroups.
Examples
cluster1::> qos statistics workload resource cpu show -node nodeA -iterations 100 -rows 3 Workload ID CPU --------------- ----- ----- --total- (100%) - 9% vs0-wid-102 102 5% file-bigvmdk-.. 121 2% vs2_vol0-wid-.. 212 2% -total- (100%) - 8% vs0-wid-101 102 5% file-bigvmdk-.. 121 2% vs2_vol0-wid-.. 212 1%
The example above displays total CPU utilization for the 3
QoS workloads with the highest CPU utilization and it refreshes the display 100
times before terminating.
cluster1::> qos statistics workload resource cpu show -node local -iterations 100 -rows 2 -policy-group pg1 Workload ID CPU --------------- ----- ----- -total- (100%) - 41% file-test1_b-.. 9492 16% file-test1_c-.. 5078 16% -total- (100%) - 43% file-test1_c-.. 5078 17% file-test1_b-.. 9492 16% -total- (100%) - 40% file-test1_c-.. 5078 16% file-test1_b-.. 9492 15%
The example above displays total CPU utilization for the 2
QoS workloads belonging to QoS policy group pg1
with the highest IOPS and it refreshes the display 100
times before terminating.
cluster1::> qos statistics workload resource cpu show -node local -iterations 100 -workload-id 9492 Workload ID CPU --------------- ----- ----- -total- (100%) - 15% file-test1_b-.. 9492 3% -total- (100%) - 14% file-test1_b-.. 9492 3% -total- (100%) - 14% file-test1_b-.. 9492 2% -total- (100%) - 13% file-test1_b-.. 9492 3%
The example above displays total CPU utilization for the QoS workload with QoS workload ID 9492
and it refreshes the display 100
times before terminating.