第 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-07-02