Skip to content

Metrics reference

Daemonitor exposes operating system, JVM, and host-level measurements across the Desktop UI, TUI, CLI (ps, history, metrics, export, host), and Core API (/v1/processes, /v1/capabilities, /v1/host).

Metric categories

  • CPU & OS memory: Resident set size (RSS), physical footprint, peak resident memory, proportional set size (PSS), private committed memory, virtual memory, swap, and CPU deltas.
  • JVM heap, GC & runtime: Live heap, -Xmx/-Xms, metaspace, memory pools, young/full/concurrent/total GC counters and timings, JIT compilation, code cache, class loading, safepoints, and allowlisted JVM system properties.
  • I/O, threads & platform metrics: Logical vs. disk I/O, page faults, context switches, threads, file descriptors / handles, Linux cgroup v2 metrics, and host-level pressure/thermal/PSI/commit metrics.

Metric semantics and availability

Every capability reported by GET /v1/capabilities (or daemonitor-cli metrics list) carries an availability status:

Availability value Meaning
available Collected on this platform and host
unsupported Operating system does not expose this primitive
permission_denied OS denied read access (for example, another user's process or restricted /proc entry)
tool_unavailable Required tool or cgo native binding is unavailable
probe_failed Diagnostic probe executed but returned an error
timeout Probe exceeded its 750ms timeout
stale Process creation time changed (> 1000ms), indicating PID reuse
not_collected Defined in schema but not actively collected on this platform

Unavailable values are always null

Daemonitor never substitutes 0 when a metric cannot be collected. In JSON/JSONL exports, unavailable fields are null; in plain text and UI tables, they display as —.