Logo ProcessKit API Reference

LimitEvidence Type

Post-run evidence of whether the resource caps a `ProcessGroup` carried actually fired — one `LimitVerdict` per axis, read from the container the group itself owns. See `ProcessGroup.LimitEvidence()` for when it becomes available and what each axis means. Deliberately per-axis rather than one whole-group verdict: folding three honest three-valued verdicts into one would have to merge `NotTripped` and `Unknown` together, turning "we have no evidence" into "no". Sealed with an internal constructor — built only by the backend that reads it. Covers only `MemoryMax`, `MaxProcesses`, and `CpuQuota` (the `Cpu` axis is additionally guarded against `CpuTimeMax` — see `CappedAxes.GuardCpuVerdict`). `IoMax` and `CpuAffinity` have **no** corresponding axis at all: no containment mechanism here keeps a post-mortem "this whole-tree I/O or affinity cap engaged" counter, so there is nothing honest to report for them, ever — not even `Unknown`. `WindowsUiRestrictions` and `OomGroupKill` are policy toggles rather than caps that "fire", so they are likewise out of scope.

Instance members

Instance member Description

this.Cpu

Full Usage: this.Cpu

Returns: LimitVerdict

The verdict for `ResourceLimits.CpuQuota`. When this group also carries a `ResourceLimits.CpuTimeMax` cap, a `NotTripped` this axis would otherwise report is downgraded to `Unknown` instead — neither a Job Object's accounting nor cgroup v2's `cpu.stat` `nr_throttled` can attribute a Windows job-time or POSIX `RLIMIT_CPU` trip, so "the quota did not throttle" is not the same as "no CPU cap fired" once a `CpuTimeMax` is also configured (see `CappedAxes.GuardCpuVerdict`, T-381/R-01).

Returns: LimitVerdict

this.Memory

Full Usage: this.Memory

Returns: LimitVerdict

The verdict for `ResourceLimits.MemoryMax`.

Returns: LimitVerdict

this.Processes

Full Usage: this.Processes

Returns: LimitVerdict

The verdict for `ResourceLimits.MaxProcesses`.

Returns: LimitVerdict

Type something to start searching.