Table of ContentsView in Frames

Collecting and viewing performance data for objects

You can collect and view performance data for an object by using simplified statistics commands. The performance preset associated with the command defines what counters collect data for the object, and you use the statistics command to define how many iterations of data to collect.

About this task

This procedure shows an example of collecting and displaying performance data for instances of a volume in a cluster by using the statistics volume show command. A performance preset is associated with the statistics volume show command and defines what counters collect data for instances of a volume in a cluster.

The statistics command family includes many commands that are associated with performance presets to simplify how you collect and view performance data for different objects.

Step

  1. Collect and view performance data for instances of a volume by using the statistics volume show command.
    By default, data is returned for the top 25 instances of a volume to a maximum of 100 instances of a volume.
    Example

    In the following example, performance data for instances of a volume is collected for one five-second iteration and displayed. By default, data is collected for 5 seconds for each iteration:

    cluster1::> statistics volume show -iterations 1
    

    In the following example, performance data for instances of a volume is continuously collected and displayed, until you manually stop the data collection by pressing Ctrl-C:

    cluster1::> statistics volume show -iterations 0