跳转到主内容

以下哪个命令可用于监控 Flash Cache HIT_Percent ?

Views:
11
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

适用场景

  • ONTAP 9.8
  • Flash Cache

问题解答

  1. 要查看闪存命中百分比,请使用以下命令:

示例:

::*> statistics start -sample-id test -object ext_cache_obj -counter inserts|hit_percent
Statistics collection is being started for sample-id: test

::*> statistics stop -sample-id test
Statistics collection is being stopped for sample-id: test

::*> statistics show -sample-id test

Object: ext_cache_obj
Instance: ec0
Start-time: 12/7/2021 22:11:25
End-time: 12/7/2021 22:11:45
Elapsed-time: 20s
Scope: fas8200-dal-1a

   Counter                            Value
   -------------------------------- --------------------------------
   hit_percent                           0%
   inserts                              0

Object: ext_cache_obj
Instance: ec0
Start-time: 12/7/2021 22:11:25
End-time: 12/7/2021 22:11:45
Elapsed-time: 20s
Scope: fas8200-dal-1b

   Counter                            Value
   -------------------------------- --------------------------------
   hit_percent                           0%
   inserts                              0
4 entries were displayed.

 

2. 要定期持续显示闪存缓存性能数据,请使用以下命令:

示例:

::*> statistics show-periodic -object ext_cache_obj -instance ec0 -interval 2 -iterations 5 -counter inserts|hit_percent
fas8200-2n-dal-1: ext_cache_obj.ec0: 12/7/2021 22:00:08
   hit   Complete   Number of
 percent  inserts Aggregation Constituents
 ------- -------- ----------- ------------
    0%     0    n/a    n/a
    0%     0    n/a    n/a
    0%     0    n/a    n/a
    0%     0    n/a    n/a
    0%     0    n/a    n/a
fas8200-2n-dal-1: ext_cache_obj.ec0: 12/7/2021 22:00:18
   hit   Complete   Number of
 percent  inserts Aggregation Constituents
 ------- -------- ----------- ------------
Minimums:
    0%     0     -     -
Averages for 5 samples:
    0%     0     -     -
Maximums:
    0%     0     -     -

追加信息

在此处添加您的文本。

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.