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

qos statistics volume resource cpu show

Contributors
Suggest changes

Display CPU resource utilization data per volume

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

Description

The qos statistics volume resource cpu show command displays the CPU utilization for volumes per node.

The command displays the following data:

  • The QoS volume 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 volumes.

Parameters

-node {<nodename>|local} - Node

Selects the volumes that match this parameter value.

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

Specifies the number of busiest QoS policy groups to display. The default setting is 10. The allowed range of values is 1 to 20.

| -vserver <vserver name> - Vserver Name

Specifies the Vserver to which the volume belongs.

-volume <volume name> - Volume Name }

Selects the CPU utilization data that match this parameter value. Enter a complete volume name or press the <Tab> key to complete the name. Wildcard query characters are not supported.

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

[-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 volume resource cpu show -node nodeA -iterations 100 -rows 3
    Workload           ID   CPU
    --------------- ----- -----
    --total- (100%)     -    9%
    vs0vol1-wid-102   102    5%
    vs0vol2-wid-121   121    2%
    vs2_vol0-wid-..   212    2%
    -total- (100%)      -    8%
    vs0vol1-wid-102   102    5%
    vs0vol2-wid-121   121    2%
    vs2_vol0-wid-..   212    1%

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

cluster1::> qos statistics volume resource cpu show -node local -vserver vs0 -volume vs0_vol1 -iterations 100
    Workload           ID   CPU
    --------------- ----- -----
    -total- (100%)      -    2%
    vs0_vol1-wid7..  7916    2%
    -total- (100%)      -    2%
    vs0_vol1-wid7..  7916    2%
    -total- (100%)      -    1%
    vs0_vol1-wid7..  7916    1%
    -total- (100%)      -    2%
    vs0_vol1-wid7..  7916    1%
    -total- (100%)      -    2%
    vs0_vol1-wid7..  7916    2%

The example above displays total CPU utilization for volume vs0_vol1 in Vserver vs0 and it refreshes the display 100 times before terminating.