Index | Top - Up | Data ONTAP 8.3 |
Display performance data for a time interval
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
This command displays performance data for a period of time.
To display data for a period of time, collect a sample using the statistics start and statistics stop commands. The data that displays is calculated data based on the samples the cluster collects. To view the sample, specify the -sample-id parameter.
{ [-fields <fieldname>, ...]
| [-tab ] }
[-object <text>] - Object
[-instance <text>] - Instance
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. If you do not specify this parameter, the command displays statistics for all disks in the system.
[-counter <text>] - Counter
[-preset <text>] - Preset
[-node {<nodename>|local}] - Node
[-vserver <vserver name>] - Vserver
[-value <text>] - Text Value
[-labels <text>, ...] - List of Labels
[-values <text>, ...] - List of Values
[-filter <text>] - Filter Data
[-sample-id <text>] - Sample Identifier
[-interval <integer>] - Interval
[-iterations <integer>] - Iterations
[-sort-key <text>] - Counter Used For Sorting
[-sort-order {Sort order ascending|descending}] - Sort Order
[-max <integer>] - Maximum Number of Instances
cluster1::*> statistics start -object system -counter avg_processor_busy|cpu_busy -sample-id smpl_1 Statistics collection is being started for Sample-id: smpl_1 cluster1::*> statistics show -sample-id smpl_1 Object: system Instance: cluster Start-time: 8/2/2012 18:27:53 End-time: 8/2/2012 18:27:56 Cluster: cluster1 Counter Value -------------------------------- -------------------------------- avg_processor_busy 6% cpu_busy 6%The following example starts and stops data collection and displays statistics for the sample named smpl_1 for counters: avg_processor_busy and cpu_busy
cluster1::*> statistics start -object system -counter avg_processor_busy|cpu_busy -sample-id smpl_1 Statistics collection is being started for Sample-id: smpl_1 cluster1::*> statistics stop -sample-id smpl_1 Statistics collection is being stopped for Sample-id: smpl_1 cluster1::*> statistics show -sample-id smpl_1 Object: system Instance: cluster Start-time: 8/2/2012 18:27:53 End-time: 8/2/2012 18:27:56 Cluster: cluster1 Counter Value -------------------------------- -------------------------------- avg_processor_busy 6% cpu_busy 6%
Index | Top - Up | Data ONTAP 8.3 |
Copyright © 1994-2015 NetApp, Inc. Legal Information