Skip to content

Troubleshooting: Process discovery

If a build process does not appear in Daemonitor, check the following causes in order.

1. Verify daemonitor-cored is running and healthy

daemonitor-cli health
daemonitor-cli ps --details

If health fails, see Core connectivity & platform limits.

2. Check whether the process matches a supported signature

Daemonitor drops processes that do not match a recognized build-process signature. Check Process types:

  • Gradle: Requires GradleDaemon, KotlinCompileDaemon, GradleWorkerMain, GradleWrapperMain/gradlew, or a java process with -Dorg.gradle.* / Gradle internal classes.
  • Xcode: Xcode.app (the IDE GUI) is intentionally excluded. Generic tools like codesign, lipo, strip, plutil, or shell scripts are only attributed when a live XCODE_BUILD or XCODE_BUILD_SERVICE ancestor exists within parent depth 6 (in daemonitor-cored).
  • Kotlin Toolchain / Amper: Specifically matches org.jetbrains.amper.cli.MainKt.

3. Process lifetime shorter than the poll interval

Default OS polling runs every 2s (accelerating to 1s during active sessions or xcodebuild). Short-lived wrappers, scripts, or compiler invocations that exit between polls may not be sampled.

For short builds, wrap the command in an explicit observation session:

daemonitor-cli observe -- ./gradlew help

4. Permissions and different user accounts

  • On Unix systems, if a build runs under a different user (for example via sudo or a CI service user), OS permissions may hide its command line or working directory (🔒 badge in Desktop Live Monitor).
  • In the Desktop --jvm-collector fallback, processes from other UIDs are filtered out entirely (p.userID == selfUid).