Using the stats commands, you can view system statistics to track performance.
The stats command is not specific to CIFS-related statistics. The two stats commands that output statistics data are stats show (for real-time statistical data and stats stop (when you are tracking statistics over a range of time). (Note that the cifs stats command is still available.)
The statistics displayed by the stats command are accumulated in counters. You reference a specific counter using a hierarchical name with components: object_name:instance_name:counter_name. For example, a counter might be named system:system:cifs_ops. You can use the stats list command to determine the object_names, instance_names and counter_names available on your storage system.
The output of the stats show command provides data describing the storage system at the moment you issued the command. To track statistics over time, use the stats start command to mark the beginning of the time period you want to track, and the stats stop command to mark the end of the time period for which you want to collect statistical data. Data ONTAP outputs the collected data as soon as you enter the stats stop command.
Data ONTAP allows you to use the stats start and stats stop commands to track different statistics concurrently. To do this, you can enter an instance (-i) argument with the stats start and stats stop commands. .
For more information about usage and syntax, see the stats(1) man page.