第 8 章 Mbean 计数器类型
您可以作为自定义触发器定义的一部分指定的 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