Skip to main content
NetApp Knowledge Base

What command can be used for monitoring flash cache hit_percent?

Views:
1,545
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

Applies to

  • ONTAP 9
  • Flash Cache

Answer

  1. To view the flash cache hit percent, the following command is used:

Example:

::*> 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. To continuously display the flash cache performance data at a regular interval, the following command is used:

Example:

::*> 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       -       -

Additional Information

Add your text here.

 

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.