Skip to content

Quick start

This guide shows the shortest path to monitoring a build with the Terminal UI, non-interactive CLI, or Desktop application.

1. Terminal UI (interactive)

Start the interactive monitor from any terminal:

daemonitor-cli

daemonitor-cli automatically starts daemonitor-cored over a local IPC socket if it is not already running.

  1. Trigger a build in another terminal (for example, ./gradlew assembleDebug, xcodebuild, or amper build).
  2. Watch processes appear in the live table (refreshed every 2s, or 1s during active sessions and xcodebuild runs).
  3. Press v to toggle Grouped by parent view (GRADLE_DAEMON and XCODE_BUILD_SERVICE group roots aggregate child RSS and CPU).
  4. Press Enter on any row to inspect OS metrics, JVM telemetry, resource trends, and Gradle daemon logs.
  5. Press Esc to return to the table, ? for inline help, or q to quit.

See the Terminal UI guide for all views and shortcuts.

2. Non-interactive CLI

Run a one-shot process snapshot:

daemonitor-cli ps

Include detailed OS and JVM metrics:

daemonitor-cli ps --details

Output structured JSON for scripting or CI:

daemonitor-cli ps --json

Inspect host CPU, memory, and platform metric availability:

daemonitor-cli host
daemonitor-cli metrics list

See Listing and inspecting processes and the CLI commands reference. For scoping process collection to a specific command, see Observation sessions.

3. Desktop application

  1. Launch Daemonitor from your Applications folder (macOS), application menu (Linux), or Start menu (Windows).
  2. The Live tab opens automatically and attaches to daemonitor-cored.
  3. Run a Gradle, Xcode, or Amper build to see live rows populate in the table.
  4. Click a row to inspect memory, GC, I/O, child processes, and live Gradle daemon logs in the right-hand Process Inspector.
  5. Switch to Visual for the RSS & Heap timeline chart, or History to review correlated Gradle builds and Xcode observation sessions.

See the Desktop guide.