Skip to main content

statistics show-periodic

Contributors
Suggest changes

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 This command has been deprecated and may be removed from a future version of Data ONTAP. Use the "statistics show" command with the tabular format instead.
  • cpu avg: Average processor utilization across all processors in the system.

  • cpu busy: Overall system utilization based on CPU utilization and subsystem utilization. Examples of subsystems include the storage subsystem and RAID subsystem.

  • total ops: Number of total operations per second.

  • nfs-ops: Number of NFS operations per second.

  • cifs-ops: Number of CIFS operations per second.

  • fcache ops: Number of 7M flexcache operations per second.

  • pkts recv: Number of packets received over physical ports per second.

  • pkts sent: Number of packets sent over physical ports per second.

  • total recv: Total network traffic received over physical ports per second (KBps).

  • total sent: Total network traffic sent over physical ports per second (KBps).

  • data busy: The percentage of time that data ports sent or received data.

  • data recv: Network traffic received on data ports (KBps).

  • data sent: Network traffic sent on data ports (KBps).

  • cluster busy: The percentage of time that cluster ports sent or received data.

  • cluster recv: Network traffic received on cluster ports (KBps).

  • cluster sent: Network traffic sent on cluster ports (KBps).

  • disk read: Data read from disk (KBps).

  • disk write: Data written to disk (KBps).

Parameters

[-object <text>] - Object (privilege: advanced)

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

[-instance <text>] - Instance (privilege: advanced)

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 (privilege: advanced)

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 (privilege: advanced)

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

[-node {<nodename>|local}] - Node (privilege: advanced)

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

[-vserver <vserver name>] - Vserver (privilege: advanced)

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 (privilege: advanced)

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

[-iterations <integer>] - Number of Iterations (privilege: advanced)

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 (privilege: advanced)

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 (privilege: advanced)

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  cpu   cpu    total                     fcache     pkts     pkts    total    total data     data     data cluster  cluster  cluster     disk     disk
avg busy total      ops  nfs-ops cifs-ops      ops     recv     sent     recv     sent busy     recv     sent    busy     recv     sent     read    write
---- ---- ----- -------- -------- -------- -------- -------- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- --------
  6%   6%   26%        0        0        0        0      641       39    126KB   4.68KB   0%   7.33KB       0B      0%    111KB   4.68KB       0B       0B
  5%   5%   21%        0        0        0        0      254        7   16.7KB   1.75KB   0%   5.60KB       0B      0%   5.48KB   1.75KB       0B       0B
  6%   6%   24%        0        0        0        0      307       41   21.2KB   5.32KB   0%   6.13KB       0B      0%   8.99KB   5.32KB       0B       0B
  4%   4%   17%        0        0        0        0      364       16   23.8KB   2.58KB   0%   8.88KB       0B      0%   6.05KB   2.58KB       0B       0B
 10%  10%   42%        0        0        0        0      673        7    124KB   1.92KB   0%   9.82KB       0B      0%    104KB   1.92KB       0B       0B
  7%   7%   28%        0        0        0        0      407       38   28.1KB   4.38KB   0%   8.79KB       0B      0%   10.5KB   4.38KB    106KB    528KB
  4%   4%   19%        0        0        0        0      328       16   21.6KB   2.58KB   0%   7.27KB       0B      0%   7.02KB   2.58KB       0B       0B
  5%   5%   22%        0        0        0        0      324       31   21.9KB   4.35KB   0%   6.99KB       0B      0%   7.95KB   4.35KB       0B       0B
  5%   5%   21%        0        0        0        0      242       16   16.1KB   2.60KB   0%   5.10KB       0B      0%   5.89KB   2.60KB       0B       0B
  4%   4%   17%        0        0        0        0      273       16   18.0KB   2.60KB   0%   5.91KB       0B      0%   6.20KB   2.60KB       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 processor       sk
     name      busy switches
 -------- --------- --------
 processor1      8%     1722
 processor1      6%     1234
 processor1      5%     1680
 processor1      4%     1336
 processor1      7%     1801
[...]

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