Index  |  Top  -  Up Data ONTAP 8.3

statistics show-periodic

Continuously display current performance data at regular interval

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

Description

This command continuously displays specified performance data at a regular interval. The command output displays data in the following columns:
Note:

Parameters

[-object <text>] - Object

Selects the object for which you want to display performance data. The default object is "cluster".

[-instance <text>] - Instance

Selects the instance for which you want to display performance data. This parameter is required if you specify the -object parameter and enter any object other than "cluster". Multiple values for this parameter are not supported.

For example, if you want to display disk object statistics, you can use this parameter to specify the name of a specific disk whose statistics you want to view.

[-counter <text>] - Counter

Selects the counters for which you want to display performance data. If you do not specify this parameter, the command displays statistics for all of the counters in the specified objects. To specify multiple counters, use "|" between each counter.

[-preset <text>] - Preset

If this parameter is specified, the command displays statistics for the specified preset.

[-node {<nodename>|local}] - Node

Selects the nodes for which you want to display performance data. The default node is "cluster:summary".

[-vserver <vserver name>] - Vserver

Selects the Vserver for which you want to display performance data. If you do not specify this parameter, the command displays statistics for all of the Vservers in the cluster.

[-interval <integer>] - Interval in Seconds

Specifies, in seconds, the interval between statistics updates. The default setting is 1 second.

[-iterations <integer>] - Number of Iterations

Specifies the number of iterations the command runs before terminating. The default setting is 0 (zero); this means that the command continues to run until you interrupt it by pressing Ctrl-C.

[-summary {true|false}] - Print Summary

Specifies whether the command prints a final summary of statistics after the command has gone through all of its iterations. The default setting is true.

[-filter <text>] - Filter Data

Selects instances that match the specified filter criteria. For example, to display instances from node1, specify -filter "node_name=node1".

Examples

The following example displays the "cluster" statistics for a node named node1. Because no number of iterations is specified, this command will continue to run until you interrupt it by pressing Ctrl-C.
cluster1::*> statistics show-periodic -node node1 
  cpu    total                   data     data     data cluster  cluster  cluster     disk     disk
 busy      ops  nfs-ops cifs-ops busy     recv     sent    busy     recv     sent     read    write
 ---- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- --------
  54%    10378    10378        0  59%   66.9MB   99.6MB     72%   78.8MB    172MB   8.25KB   24.7KB
  49%     8156     8156        0  47%   48.0MB   82.0MB     79%   83.9MB    190MB   7.92KB   7.92KB
  49%     6000     6000        0  54%   24.3MB   87.0MB     76%    109MB    182MB   15.8KB       0B
  56%    10363    10363        0  71%   62.3MB    110MB     57%   96.8MB    136MB   8.00KB   24.0KB
  54%    10460    10460        0  66%   65.8MB    106MB     59%   94.7MB    141MB       0B       0B
  54%     7894     7894        0  62%   40.1MB    101MB     78%   99.0MB    186MB   2.68MB   11.0MB
  56%     7135     7135        0  65%   30.5MB    104MB     86%   93.3MB    206MB   16.2KB   32.3KB
  60%    11374    11374        0  78%   67.7MB    126MB     87%   88.5MB    209MB       0B       0B
  56%    10458    10458        0  72%   65.7MB    112MB     86%   87.1MB    205MB   16.0KB       0B
  56%    10130    10130        0  59%   64.9MB   98.9MB     84%   81.0MB    200MB   8.00KB   24.0KB
  55%     9814     9814        0  52%   63.8MB   76.4MB     94%   71.2MB    224MB       0B       0B
  54%     7776     7776        0  49%   41.2MB   80.7MB     91%   86.4MB    218MB   24.5KB   8.16KB
  52%     7400     7400        0  49%   38.0MB   80.8MB     87%   98.7MB    208MB   7.92KB   23.8KB
  55%     9459     9459        0  65%   56.4MB    105MB     65%   96.6MB    155MB       0B       0B
  56%    10529    10529        0  65%   65.8MB    107MB     69%   89.0MB    165MB   16.2KB       0B
  57%     9950     9950        0  62%   64.9MB   95.3MB     89%   81.8MB    213MB   2.32MB   2.65MB
  54%     8287     8287        0  48%   51.9MB   77.2MB     95%   73.3MB    226MB   8.16KB   8.16KB
  54%     7612     7612        0  40%   41.4MB   68.2MB     95%   88.6MB    228MB   15.8KB       0B
  54%     8728     8728        0  60%   48.9MB   92.8MB     89%    103MB    214MB   7.92KB   23.8KB
  57%     9944     9944        0  70%   59.4MB    108MB     74%   95.7MB    176MB       0B       0B
[...]
The following example displays the "processor" statistics for an instance named processor1. This command will display only five iterations.
cluster1::*> statistics show-periodic -object processor -instance processor1 -iteration 5
 instance     node processor   elapsed       sk
     name     name      busy      time switches
 -------- -------- --------- --------- --------
 processor0      -        2%         -     1022
 processor0      -        1%         -      959
 processor0      -        2%         -     1098
 processor0      -        2%         -      870
 processor0      -        2%         -     1107
[...]
The following example displays the processor statistics for an instance named processor1 and counters "processor_busy" and "sk_switches". This command will display only five iterations.
cluster1::*> statistics show-periodic -object processor -instance processor1 -iteration 5 -counter processor_busy|sk_switches
 processor       sk
      busy switches
 --------- --------
        5%     1267
        4%     1163
        7%     1512
        5%     1245
        4%     1128
[...]

Index  |  Top  -  Up Data ONTAP 8.3

Copyright © 1994-2015 NetApp, Inc. Legal Information