Troubleshooting: Core connectivity and platform limits¶
Core connectivity (daemonitor-cored)¶
Both daemonitor-cli and the Desktop application connect to daemonitor-cored over local IPC and auto-start it when absent.
Diagnostic checks¶
# Verify core health, version, socket path, and DB path
daemonitor-cli health
# Inspect available platform metrics on this machine
daemonitor-cli metrics list
# Inspect host-level metrics
daemonitor-cli host
Common issues¶
--no-autostartfails to connect: Startdaemonitor-coredmanually or omit--no-autostart.- Stale socket or custom socket path: Verify both client and
daemonitor-coreduse the same--socket/-socketpath. Default path is<appSupportDir>/daemonitor-core.sockon macOS/Linux and\\.\pipe\daemonitor-core-<UserSID>on Windows. - Gradle plugin socket mismatch: The experimental Gradle plugin defaults to
<java.io.tmpdir>/daemonitor-core.sock, whereasdaemonitor-coreddefaults to<appSupportDir>/daemonitor-core.sock. Pass-Pdaemonitor.cored.socket=...to match. daemonitor-cli topexits with code1:toprequires an interactive TTY withTERM != "dumb". Usedaemonitor-cli psin non-interactive shells, SSH pipelines, or CI.
Verified platform limitations¶
| Platform | Known limitations |
|---|---|
| macOS | Logical I/O (read_bytes/write_bytes) is null (not exposed by gopsutil). physical_footprint_bytes, peak_resident_bytes, disk I/O bytes, host memory pressure, and thermal state require cgo (darwin && !cgo reports tool_unavailable). |
| Linux | physical_footprint_bytes is unsupported. proportional_bytes (/proc/<pid>/smaps_rollup) requires read permission and updates on a 5s throttle. Cgroup v2 metrics require unified cgroup v2 under /sys/fs/cgroup. PSI requires kernel PSI support (/proc/pressure/*). |
| Windows | Storage-only disk_read_bytes/disk_write_bytes, minor/major page fault splits, and POSIX open_file_descriptors are unsupported (process.handles.count is collected instead). Job Object metrics are not_collected. The experimental Gradle plugin does not yet support Windows named pipes. |