pub struct Group {Show 28 fields
pub id: String,
pub kind: GroupKind,
pub label: String,
pub fingerprint: String,
pub root: Option<ProcId>,
pub members: Vec<Member>,
pub totals: GroupTotals,
pub reclaim_gain: Measured<Bytes>,
pub swap_gain: Measured<Bytes>,
pub confidence: Confidence,
pub owner_group: Option<String>,
pub orphan: bool,
pub idle: bool,
pub idle_for_s: Option<u64>,
pub protected: bool,
pub is_self: bool,
pub lower_bound: bool,
pub configured_mem: Option<Bytes>,
pub matched_by: Option<String>,
pub age_s: Measured<u64>,
pub cpu_time_s: Measured<f64>,
pub duty_pct: Measured<f64>,
pub longest_idle_s: Option<u64>,
pub longest_idle: Option<ProcId>,
pub idle_rent_gib_h: Measured<f64>,
pub staleness: Staleness,
pub project: Option<String>,
pub cohort: Option<String>,
}Fields§
§id: StringUnique within a snapshot and stable across samples for the same root, e.g. “agent:3f2a9c01”.
kind: GroupKind§label: String§fingerprint: StringEntity fingerprint (UX §4), hex.
root: Option<ProcId>§members: Vec<Member>§totals: GroupTotals§reclaim_gain: Measured<Bytes>RAM freed if stopped (SPEC §8.1); always Estimate.
swap_gain: Measured<Bytes>Swap freed if stopped, reported separately (SPEC §8.1).
confidence: Confidence§owner_group: Option<String>Group that started/owns this one (e.g. sandbox started by an agent session).
orphan: bool§idle: bool§idle_for_s: Option<u64>§protected: boolProtected groups are never offered for actions (SPEC §13).
is_self: booloomtop’s own processes.
lower_bound: boolFootprint is a lower bound (Virtualization.framework VMs, SPEC §5).
configured_mem: Option<Bytes>Configured VM memory for sandbox groups.
matched_by: Option<String>Rule/adapter that defined this group, for “why” explanations.
age_s: Measured<u64>Age of the root process, else of the oldest member (the source says which), seconds.
cpu_time_s: Measured<f64>Σ CPU time of the live members, seconds.
duty_pct: Measured<f64>Duty cycle: cpu_time_s ÷ age_s, percent of one core.
longest_idle_s: Option<u64>Idle time of the longest-idle member (idle_for_s is the shortest: the whole group’s).
longest_idle: Option<ProcId>The longest-idle member.
idle_rent_gib_h: Measured<f64>Idle rent: Σ GiB-hours held by idle members; always an estimate.
staleness: StalenessStaleness score (0..1) and the ordered evidence behind it.
project: Option<String>Project directory of the root, else the most common among the members.
cohort: Option<String>Id of the crate::staleness::Cohort this group belongs to: the agent session that left it has
ended.