搜索

第 8 章 Mbean 计数器类型

download PDF

您可以作为自定义触发器定义的一部分指定的 MBean 计数器类型是 JDK 中通常可用的标准 MBean 指标。这些 MBean 计数器涵盖运行时、内存、线程和操作系统指标的范围。

以下是您可以在自定义触发器定义中指定的 MBean 计数器类型的完整列表:

注意

您在自定义触发器定义中指定的每个 MBean 计数器的名称必须与以下列表中 MBean 计数器名称的拼写和大写完全匹配。

操作系统指标
  • arch
  • AvailableProcessors
  • Name
  • SystemLoadAverage
  • Version
  • CommittedVirtualMemorySize
  • FreePhysicalMemorySize
  • FreeSwapSpaceSize
  • ProcessCpuLoad
  • ProcessCpuTime
  • SystemCpuLoad
  • TotalPhysicalMemorySize
  • TotalSwapSpaceSize
线程指标
  • AllThreadIds
  • CurrentThreadCpuTime
  • CurrentThreadUserTime
  • DaemonThreadCount
  • PeakThreadCount
  • ThreadCount
  • TotalStartedThreadCount
  • CurrentThreadCpuTimeSupported
  • ObjectMonitorUsageSupported
  • SynchronizerUsageSupported
  • ThreadContentionMonitoringEnabled
  • ThreadContentionMonitoringSupported
  • ThreadCpuTimeEnabled
  • ThreadCpuTimeSupported
运行时指标
  • BootClassPathSupported
  • BootClassPath
  • classpath
  • InputArguments
  • LibraryPath
  • ManagementSpecVersion
  • Name
  • SpecName
  • SpecVersion
  • SystemProperties
  • StartTime
  • uptime
  • vmName
  • VmVendor
  • VmVersion
内存指标
  • HeapMemoryUsage
  • NonHeapMemoryUsage
  • ObjectPendingFinalizationCount
  • FreeHeapMemory
  • FreeNonHeapMemory
  • HeapMemoryUsagePercent
  • 详细

更新于 2024-01-02

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.