Docs.rs
  • cgroups-rs-0.3.3
    • cgroups-rs 0.3.3
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • Tim-Zhang
    • liubin
    • Dependencies
      • libc ^0.2 normal
      • log ^0.4 normal
      • nix ^0.25.0 normal
      • regex ^1.1 normal
      • serde ^1.0 normal
      • thiserror ^1 normal
      • libc ^0.2.76 dev
    • Versions
    • 82.59% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module cgroup

  • Structs
  • Constants
  • Functions
?
Change settings

Module cgroups_rs::cgroup

source ·
Expand description

This module handles cgroup operations. Start here!

Structs

  • Cgroup
    A control group is the central structure to this crate.

Constants

  • CGROUP_MODE_DOMAIN
  • CGROUP_MODE_DOMAIN_INVALID
  • CGROUP_MODE_DOMAIN_THREADED
  • CGROUP_MODE_THREADED
  • UNIFIED_MOUNTPOINT

Functions

  • get_cgroups_relative_paths
  • get_cgroups_relative_paths_by_pid
  • verify_supported_controllers