CPU

CPU measures processor time consumed by the watched processes. It is available on all supported platforms when minCPU is configured.

minCPU

For each process group, you can set a cumulative CPU threshold so that it counts as usage. The following formats are valid:

10%

When a number is configured with a percentage unit, the absolute processing time will be compared with the total processing time available since the last timeout. The used processing time has to be more than this average for the resource to be considered non-idle. The total processing time takes into account the number of available processing cores, so the value will correspond to what you see in Task Manager.

10min

When a number is configured with a time unit, it is compared to the absolute processing time since the last timeout. If multiple cores are used, the processing time can exceed the elapsed clock time by a factor equal to the number of installed cores. You can use the usual format for durations.

Use the watch expression to combine this result with other configured metrics. With no thresholds, the default catch-all expression counts every matching process as activity.

Example

This fragment belongs inside ProcessMonitor. The renderer and its children count as active when their combined CPU usage exceeds five percent of the machine’s total processor capacity during the inspection interval:

<Process name="Renderer" watchChildren="true" minCPU="5%" watch="CPU">
  blender
</Process>

See Watch expressions to combine CPU usage with other metrics.