volume qtree statistics
Display qtree statistics
Description
This command displays NFS and CIFS operations statistics for qtrees. Note that qtree statistics are available only when the volume containing the qtree is online. This command is not supported on Infinite Volumes.
Statistics are cumulative values from the time the volume is brought online or when the statistics have been reset by using the "volume qtree statistics-reset" command.
Vserver name
Volume name
Qtree name
NFS operations
CIFS operations
Qtree statistics are not persistent. If you restart a node, if a storage takeover and giveback occurs, or if the containing volume is set to offline and then online, qtree statistics are set to zero.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-internal ] (privilege: advanced)
- If this parameter is specified, the output will also include the internal operation statistics. Internal operation is any operation on the qtree that originated within Data ONTAP software.
- | [-no-reset ] (privilege: advanced)
- If this parameter is specified, the output will display the NFS and CIFS op statistics since the time the volume was online.
- | [-no-reset-internal ] (privilege: advanced)
- If this parameter is specified, the output will also include the internal op statistics since the time the volume was online.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-vserver <vserver name>] - Vserver Name
- If this parameter is specified, the command displays information about the qtrees on the specified Vserver.
- { [-volume <volume name>] - Volume Name
- If this parameter is specified, the command displays information about the qtrees on the specified volume.
- [-qtree <qtree name>] - Qtree Name
- If this parameter is specified, the command displays information about the specified qtree.
- | [-qtree-path <qtree path>]} - Actual (Non-Junction) Qtree Path
- The qtree path argument in the format /vol/<volume name>/<qtree name> can be specified instead of specifying volume and qtree as separate arguments. The automatically created qtree0 can be represented as /vol/<volume name>.
- [-nfs-ops <Counter64>] - NFS operations since reset
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of NFS operations since the statistics was zeroed.
- [-cifs-ops <Counter64>] - CIFS operations since reset
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of CIFS operations since the statistics was zeroed.
- [-internal-ops <Counter64>] - Internal operations since reset (privilege: advanced)
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of internal operations since the statistics was zeroed.
- [-no-reset-nfs-ops <Counter64>] - NFS operations since online (privilege: advanced)
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of NFS operations since the volume was online.
- [-no-reset-cifs-ops <Counter64>] - CIFS operations since online (privilege: advanced)
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of CIFS operations since the volume was online.
- [-no-reset-internal-ops <Counter64>] - Internal operations since online (privilege: advanced)
- If this parameter is specified, the command displays information about qtrees that have the corresponding cumulative number of internal operations since the volume was online.
Examples
The following example displays statistics information for all qtrees on the Vserver named vs0.
cluster1::> volume qtree statistics -vserver vs0
Vserver Volume Qtree NFS Ops CIFS Ops
---------- ------------- ------------ ------------ ----------
vs0 vol0 qtree1 10876 2678
vs0 vol1 qtree1a 16543 0
vs0 vol2 qtree2 0 0
vs0 vol2 qtree2a 0 0
4 entries were displayed.
cluster1::> volume qtree statistics -vserver vs0 -nfs-ops >15000
Vserver Volume Qtree NFS Ops CIFS Ops
---------- ------------- ------------ ------------ ----------
vs0 vol1 qtree1a 16543 0