Registry / utility / cgroups-rs

cgroups-rs

JSON →
library0.5.0rscratesunverified

Native Rust crate for managing control groups on Linux, enabling resource limits and monitoring.

# Cargo.toml [dependencies] cgroups-rs = "0.5.0"
INSTALL
IMPORT
SIG · CGROUPS-RS
C
cgroups-rs
utilityrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cgroup
use cgroups_rs::Cgroup;

Creates a new cgroup with the given name for resource management.

use cgroups_rs::Cgroup; fn main() { let cg = Cgroup::new("mygroup"); // Configure resource limits }
Debug
Known issues
gotchaOnly works on Linux systems with cgroup support.
fix
Ensure the target platform is Linux and cgroups are enabled.
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cgroups-rs — cargo add cgroups-rs · libregistry