筛选统计信息

您可以使用筛选器帮助您跟踪特定对象的资源利用率,或者缩小收集的统计信息量。例如,从系统中的 30,000 个 LUN 收集统计信息可能需要很长时间才能完成,您可以通过按卷名筛选统计信息来缩小收集的统计信息量并缩短完成所需的时间。

关于此任务

此过程中的示例显示了如何按卷筛选性能数据。

步骤

  1. 使用 statistics volume show 命令查看卷的性能数据。
    输出内容包括最重要的计数器,并会按您指定的最活跃对象实例对结果进行排序。
    示例
    在此示例中,输出显示了报告最高 IOP 值的卷:
    cluster1::> statistics volume show                                      
    cluster1 : 12/31/2013 16:00:04                                                                                                        
                                                                                                                                                
                             *Total Read Write Other  Read Write Latency                                    
    Volume Vserver Aggregate    Ops  Ops   Ops   Ops (Bps) (Bps)    (us)                                                 
    ------ ------- --------- ------ ---- ----- ----- ----- ----- -------                                                                 
    vol0       -   aggr0         58   13    15    29 9585   3014      39                                                                 
    vol1       -   aggr0_n0      56    0    11    45 8192  28826      47
    
  2. 按卷名筛选输出。
    示例
    在此示例中,输出显示了 vol1 的统计信息:
    cluster1::> statistics volume show –volume vol1                                            
    cluster1 : 12/31/2013 16:00:04                                                                                                            
                                                                                                                                                
                             *Total Read Write Other   Read Write Latency                                                                    
    Volume Vserver Aggregate    Ops  Ops   Ops   Ops  (Bps) (Bps)    (us)                                                            
    ------ ------- --------- ------ ---- ----- ----- ------ ----- -------                                                                                                                          
    vol1       -   aggr0_n0      56    0    11    45   8192 28826      47