Platform compatibility reference¶
This matrix is derived directly from cored/internal/platform/ (collector_darwin.go, collector_linux.go, collector_windows.go) and cored/internal/poll/memory_metrics_*.go.
Legend:
- Supported: Collected unconditionally when process access is permitted.
- Conditional: Requires specific build tags (
cgo), JDK tools (jcmd/jstat/jinfo), or OS feature availability (such as cgroup v2 or/proc/pressure). - Not supported: OS does not expose an equivalent metric; value is always
null. - Not applicable: Only applies to a specific runtime or OS.
Process metrics compatibility¶
| Metric | macOS | Linux | Windows | Runtime | Notes |
|---|---|---|---|---|---|
RSS (rss_memory_mb / resident_bytes) |
Supported | Supported | Supported | All | Working Set on Windows |
Virtual memory (virtual_bytes) |
Supported | Supported | Supported | All | |
Swap memory (swap_bytes) |
Supported | Supported | Supported | All | When exposed by OS |
Physical footprint (physical_footprint_bytes) |
Conditional (cgo) |
Not supported | Not supported | All | tool_unavailable on darwin && !cgo |
Peak resident (peak_resident_bytes) |
Conditional (cgo) |
Supported (5s cadence) |
Supported | All | macOS: ri_lifetime_max_phys_footprint; Linux: VmHWM; Windows: PeakWorkingSetSize |
Proportional set size (proportional_bytes) |
Not supported | Conditional (/proc/<pid>/smaps_rollup, 5s) |
Not supported | All | Requires read permission on smaps_rollup |
Private committed (private_committed_bytes) |
Not supported | Not supported | Supported | All | GetProcessMemoryInfo PrivateUsage |
| CPU time & derived CPU % | Supported | Supported | Supported | All | null on first poll |
Thread count (thread_count) |
Supported | Supported | Supported | All | |
Logical I/O bytes (read_bytes / write_bytes) |
Not supported | Supported | Supported | All | Explicitly nulled on macOS |
Disk I/O bytes (disk_read_bytes / disk_write_bytes) |
Conditional (cgo) |
Supported | Not supported | All | Nulled on Windows (GetProcessIoCounters lacks storage-only split) |
I/O operations (read_operations / write_operations) |
Supported | Supported | Supported | All | |
| Minor / major page faults | Supported | Supported | Not supported | All | Windows reports combined total only |
| Voluntary / involuntary context switches | Supported | Supported | Supported | All | |
Open file descriptors (open_file_descriptors) |
Supported | Supported | Not supported | All | Windows exposes process.handles.count instead |
Cgroup v2 resource metrics (resource.*) |
Not applicable | Conditional (cgroup v2) | Not applicable | All | Reads /proc/<pid>/cgroup & /sys/fs/cgroup |
| JVM heap, metaspace, GC, JIT, code cache, classes, safepoints | Conditional (JDK tools + same UID) | Conditional (JDK tools + same UID) | Conditional (JDK tools) | JVM only | Requires jcmd/jstat/jinfo; skipped for GRADLE_WRAPPER and XCODE_* |
Host metrics compatibility¶
| Host metric | macOS | Linux | Windows |
|---|---|---|---|
| CPU %, memory, swap, load average | Supported | Supported | Supported |
| Memory pressure & thermal state | Conditional (cgo) |
Not supported | Not supported |
PSI (psi_cpu, psi_memory, psi_io) |
Not supported | Conditional (kernel PSI enabled) | Not supported |
| Commit used / limit | Not supported | Not supported | Supported |
Inspecting live capabilities on your machine¶
Run daemonitor-cli metrics list (or query GET /v1/capabilities) to see the exact capability status reported on your current host.