以下哪个命令可用于监控 Flash Cache HIT_Percent ?
适用场景
- ONTAP 9.8
- Flash Cache
问题解答
- 要查看闪存命中百分比,请使用以下命令:
示例:
::*> 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 - -
追加信息
在此处添加您的文本。