1 unstable release
Uses old Rust 2015
| 0.0.1 | Nov 11, 2014 |
|---|
#44 in #accessing
4KB
77 lines
CGroup management.
Example
extern crate cgroup;
fn main() {
let cg = cgroup::CGroup::new().unwrap();
let cont = cg.controller(b"memory").unwrap();
println!("{}", cont.get(b"memory.usage_in_bytes"));
}
rust-cgroup
Simple cgroup accounting accessing.