Skip to main content

statistics top file show

Contributors
Suggest changes

Most actively accessed files

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command continuously displays performance data for top files at a regular interval. The command output displays data in the following columns:

  • File - file name.

  • Volume - volume name.

  • Vserver - vserver name.

  • Aggregate - aggregate name.

  • Node - node name.

  • Total Ops - total number of operations per second.

  • Total (Bps) - total throughput in bytes per second.

Parameters

[-node {<nodename>|local}] - Node

Selects the node for which you want to display performance data.

[-sort-key <text>] - Column to Sort By

If this parameter is specified, the command displays statistics sorted by the specified column.

-interval <integer> - Interval

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

-iterations <integer> - Iterations

Specifies the number of iterations the command runs before terminating. The default setting is 1. If the number is 0 (zero), the command continues to run until you interrupt it by pressing Ctrl-C.

-max <integer> - Maximum Number of Instances

Specifies maximum number of top files to display. The default setting is 10.

Examples

The following example displays top files statistics:

cluster1::> statistics top file show
cluster-1 : 12/31/1969 16:00:04

                                                                 *Total Total
                 File  Volume    Vserver Aggregate         Node     Ops (Bps)
--------------------- -------  --------- --------- ------------- ------ -----
/vol/vol01/clus/cache   vol01  vserver01     aggr1 cluster-node2      9    80
           /vol/vol02   vol02  vserver02     aggr2 cluster-node1      6    50

[...]