Skip to main content
A newer release of this product is available.

qos statistics workload resource disk show

Contributors
Suggest changes

Display disk 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 disk show command displays the disk utilization for QoS workloads per node. The disk utilization shows the percentage of time spent on the disk during read and write operations. The command displays disk utilization for system-defined workloads; however, their disk utilization is not included in the total utilization. The command only supports hard disks.

The command displays the following data:

  • The QoS workload name (Workload)

  • The QoS workload ID (ID)

  • Disk utilization (Disk)

  • The number of HDD data disks utilized (Number of HDD Disks)

The results displayed are sorted by total disk utilization. Each iteration starts with a row that displays the total disk 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 disk show -node nodeB -iterations 100 -rows 3
            Workload            ID  Disk Number of HDD Disks
            --------------- ------ ----- -------------------
            -total- (100%)       -   30%                   4
            _RAID                -   20%                   4
            vs0-wid101         101   12%                   2
            file-1-wid121      121   10%                   1
            vol0-wid1002      1002    8%                   1
            _WAFL                -    7%                   3
            -total- (100%)       -   30%                   4
            vs0-wid101         101   12%                   2
            file-1-wid121      121   10%                   1
            _RAID                -   10%                   4
            vol0-wid1002      1002    8%                   1
            _WAFL                -    7%                   3

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

cluster1::> qos statistics workload resource disk show -node local -iterations 100 -rows 2 -policy-group pg1
Workload            ID  Disk Number of HDD Disks
--------------- ------ ----- -------------------
-total-              -    3%                  10
file-test1_a-..   6437    6%                   6
file-test1-wi..   7872    6%                   6
-total-              -    3%                  10
file-test1_a-..   6437    5%                   6
file-test1-wi..   7872    5%                   6
-total-              -    3%                  10
file-test1_a-..   6437    6%                   6
file-test1-wi..   7872    6%                   6

The example above displays total disk 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 disk show -node local -iterations 100 -workload-id 6437
Workload            ID  Disk Number of HDD Disks
--------------- ------ ----- -------------------
-total-              -    3%                  10
file-test1_a-..   6437    6%                   6
-total-              -    3%                  10
file-test1_a-..   6437    5%                   6
-total-              -    3%                  10
file-test1_a-..   6437    6%                   6

The example above displays total disk utilization for the QoS workload with QoS workload ID 6437 and it refreshes the display 100 times before terminating.