Skip to content

CPU and OS memory metrics

CPU metrics

Display name JSON field Capability ID Unit Kind Source Runtime Platforms
CPU % cpu_percent (derived) % Derived rate Delta of cpu_total_seconds_total / wall clock / logical CPUs × 100 All macOS, Linux, Windows
CPU cores used cpu_cores_used (derived) cores Derived rate Delta of cpu_total_seconds_total / wall clock All macOS, Linux, Windows
User CPU time cpu_user_seconds_total process.cpu.user_seconds_total seconds Cumulative counter gopsutil All macOS, Linux, Windows
System CPU time cpu_system_seconds_total process.cpu.system_seconds_total seconds Cumulative counter gopsutil All macOS, Linux, Windows
Total CPU time cpu_total_seconds_total process.cpu.total_seconds_total seconds Cumulative counter gopsutil All macOS, Linux, Windows
Logical processors logical_processor_count (derived) count Snapshot gopsutil / runtime.NumCPU All macOS, Linux, Windows

Interpretation & limitations:

  • cpu_percent and cpu_cores_used are null on a process's first poll (Daemonitor never reports a lifetime average).
  • Monotonicity is guarded per (pid, createTimeMs) incarnation; counter regressions yield null.
  • In Grouped view, group roots aggregate cpu_percent across the root and its owned children.

Operating system memory metrics

Display name JSON field Capability ID Unit Kind Source Runtime Platforms
RSS (Resident Set Size) rss_memory_mb / resident_bytes process.memory.resident_bytes MB / bytes Gauge gopsutil (Working Set on Windows) All macOS, Linux, Windows
Physical footprint physical_footprint_bytes process.memory.physical_footprint_bytes bytes Gauge macOS proc_pid_rusage (ri_phys_footprint) All macOS (cgo) only
Peak resident memory peak_resident_bytes process.memory.peak_resident_bytes bytes Peak macOS: ri_lifetime_max_phys_footprint; Linux: /proc/<pid>/status (VmHWM, 5s); Windows: PeakWorkingSetSize All macOS (cgo), Linux, Windows
Proportional set size (PSS) proportional_bytes process.memory.proportional_bytes bytes Gauge Linux /proc/<pid>/smaps_rollup (Pss, 5s throttle) All Linux only
Private committed memory private_committed_bytes process.memory.private_committed_bytes bytes Gauge Windows psapi.dll!GetProcessMemoryInfo (PrivateUsage) All Windows only
Virtual memory virtual_memory_mb / virtual_bytes process.memory.virtual_bytes MB / bytes Gauge gopsutil All macOS, Linux, Windows
Swap memory swap_memory_mb / swap_bytes process.memory.swap_bytes MB / bytes Gauge gopsutil (when exposed by OS) All macOS, Linux, Windows

RSS vs. Physical footprint vs. JVM Heap

  • RSS measures physical RAM pages currently mapped into the process's address space, including shared libraries and memory-mapped files. Summing RSS across processes can over-count shared pages.
  • Physical footprint (macOS) matches Activity Monitor's "Memory" column (ri_phys_footprint), reflecting dirty and compressed memory attributable to the process.
  • JVM heap used (see JVM telemetry) is strictly a subset of RSS; RSS also includes metaspace, code cache, direct buffers, thread stacks, and native libraries.
  • In Grouped view, TUI group roots aggregate rss_memory_mb and physical_footprint_bytes across root + children; Desktop group roots aggregate rssMemoryMb.