Class SystemMetrics

java.lang.Object
ai.attackframework.tools.burp.utils.SystemMetrics

public final class SystemMetrics extends Object
JVM/process resource metrics sampled from the JMX ManagementFactory beans.

Centralized so the periodic exporter stats snapshot, the Stats panel Misc Stats card, and the plain-text stats summary all read identical values. JMX calls are cheap but may throw in restricted environments; each field is collected independently and falls back to -1 (or NaN for CPU load) rather than propagating the failure.

  • Method Details

    • snapshot

      public static SystemMetrics.Snapshot snapshot()
      Returns true when any JMX field above reported a usable value.