动态高速缓存 MBean 统计信息

动态高速缓存服务提供了 MBean 接口来访问高速缓存统计信息。

使用 MBean 接口来通过 JACL 访问高速缓存统计信息

  • 请使用 queryNames 命令来获取 MBean 标识,例如:
    $AdminControl queryNames type=DynaCache,*  // Returns a list of the available dynamic cache MBeans
    
    请选择动态高速缓存 MBean 并运行以下命令:
    set mbean <dynamic_cache_mbean>
  • 检索可用的高速缓存统计信息的名称:
    $AdminControl invoke $mbean getCacheStatisticNames
  • 检索可用的高速缓存实例的名称:
    $AdminControl invoke $mbean getCacheInstanceNames
  • 检索基本高速缓存实例的所有可用高速缓存统计信息:
    $AdminControl invoke $mbean getAllCacheStatistics
  • 检索指定高速缓存实例的所有可用高速缓存统计信息:
    $AdminControl invoke $mbean getAllCacheStatistics "services/cache/servletInstance_4"
  • 检索由基本高速缓存实例的名称数组指定的高速缓存统计信息:
    $AdminControl invoke $mbean getCacheStatistics {"DiskCacheSizeInMB ObjectsReadFromDisk4000K RemoteObjectMisses"}
  • 检索由指定高速缓存实例的名称数组指定的高速缓存统计信息:
    $AdminControl invoke $mbean getCacheStatistics {services/cache/servletInstance_4 "ExplicitInvalidationsLocal CacheHits"}
  • 针对与指定正则表达式相匹配的已命名高速缓存实例,检索内存中所有的高速缓存标识:
    $AdminControl invoke $mbean getCacheIDsInMemory {services/cache/servletInstance_4 \S}
  • 针对与指定正则表达式相匹配的已命名高速缓存实例,检索磁盘中所有的高速缓存标识:
    $AdminControl invoke $mbean getCacheIDsOnDisk {services/cache/servletInstance_4 \S}
  • 检索包含高速缓存标识的元数据信息的 CacheEntry:
    $AdminControl invoke $mbean getCacheEntry {services/cache/servletInstance_4 cache_id_1}
  • 使所有的高速缓存条目无效,其中包括与已命名高速缓存实例中的映射模式高速缓存标识相匹配的高速缓存条目,以及与实例中相匹配条目相关的高速缓存条目:
    $AdminControl invoke $mbean invalidateCacheIDs {services/cache/servletInstance_4 cache_id_1 true}

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rdyn_mbeancachestat
文件名:rdyn_mbeancachestat.html