Daemonitor¶
Daemonitor is an open-source utility for inspecting build-related processes running on your machine. It provides visibility into operating system resource consumption and JVM behavior—including memory usage, CPU utilization, garbage collection, threads, class loading, and other process-level measurements—for Gradle, Bazel, Xcode, and Kotlin Toolchain / Amper through a Desktop application, an interactive Terminal UI, and a command-line interface.
Daemonitor collects process measurements through a shared local monitoring core (daemonitor-cored). Process samples and historical measurements are stored locally in SQLite (watcher.db).

Quick start¶
Download installers for macOS (.dmg), Linux (.deb), or Windows (.msi) from GitHub Releases.
See Installation for all distribution options and Quick start for Desktop, TUI, and CLI walkthroughs.
Process monitoring and metrics¶
- Live process monitoring: Inspect running build-related processes, their resource consumption, and runtime characteristics at regular polling intervals.
- Process hierarchy: Understand parent-child relationships between daemons, servers, workers, compilers, and other related processes with PID-reuse protection and double-counting prevention.
- JVM diagnostics: Inspect applicable JVM measurements, including heap usage, garbage collection, metaspace, memory pools, JIT compilation, code cache, class loading, and safepoints.
- Operating system measurements: Inspect CPU utilization, RSS, physical footprint, threads, disk activity, page faults, context switches, and other supported OS measurements.
- Process resource timelines: Inspect how memory and runtime resource consumption change over the lifetime of a process.
- Multiple interfaces: Access process information through the Desktop application, interactive Terminal UI (TUI), and non-interactive CLI.
Supported processes¶
| Process ecosystem | Runtime | Supported processes |
|---|---|---|
| Gradle | JVM | Daemons, wrappers, workers, test workers, and attributed Kotlin daemons |
| Bazel | JVM Native | Servers, Java and Kotlin persistent workers, native workers, and supported test processes |
| Xcode | Native | xcodebuild, build services (SWBBuildService/XCBBuildService), Swift/Clang compilers, and recognized build tools |
| Kotlin Toolchain / Amper | JVM | Kotlin Toolchain CLI (org.jetbrains.amper.cli.MainKt) |
Metric availability depends on the operating system, process runtime, and permissions. See Supported processes and Platform compatibility.
Interfaces¶
-
Desktop application
Live Monitor with process grouping, Process Inspector for OS and JVM diagnostics, runtime-specific metrics, and process resource timelines.
-
Interactive Terminal UI (TUI)
Native Bubble Tea monitor with process sections, parent hierarchy grouping, runtime-specific columns, process inspection, sorting, and safe process termination.
-
Non-interactive CLI
Process listing, detailed OS and JVM inspection, historical process samples, metric exports, and machine-readable output (
plain,json,jsonl,csv).

Further documentation¶
- Process metrics: Units, collection sources, runtime applicability, and platform limitations for every metric.
- Concepts: Architecture, process discovery and classification, hierarchy aggregation, and telemetry collection.
- Advanced usage: Build History, observation sessions, and build context and correlation.
- Integrations: Gradle plugin, Develocity, and MCP.