Skip to content

A crate for exploring control groups v1 and v2 on Linux.

License

Notifications You must be signed in to change notification settings

oguzbilgener/cgroups-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgroups-explorer

Crates.io Version Tests

A crate for exploring control groups v1 and v2 on Linux.

Uses the cgroups-rs crate to interact with cgroups.

Usage

use cgroups_explorer::Explorer;

let explorer = Explorer::detect_version()
    .include(vec!["user.slice/*".to_string()])
    .build()
    .expect("Failed to build explorer");
let found = explorer
    .iter_cgroups()
    .for_each(|c| println!("Found cgroup: {}", c.path()));

About

A crate for exploring control groups v1 and v2 on Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages