Skip to main content

Crate rlmctl_core

Crate rlmctl_core 

Source

Modules§

desktop
exit
How a command launched under limits ended, shared by the CLI and GUI.
guard
Freeze-guard engine: watch memory pressure and proactively freeze/soft-cap the non-protected app driving the pressure before the system locks up, healing itself once pressure clears. Pure engine + sampler live here; the daemon loop lives in the rlm-guard binary.
logging
Shared tracing setup for the CLI, GUI, and guard daemon: logs go to stderr (so stdout stays script-clean), colored only when stderr is a terminal, filtered by RUST_LOG when set, else by a per-binary default.
process
rules
Persistent application rules: keep matching processes in a shared per-app cgroup with the rule’s limits, continuously reconciled by rlm-guard.
status

Structs§

CgroupManager
Prepared
Result of CgroupManager::prepare_cgroup.