Crate cgroups_rs[−][src]
Modules
blkio | This module contains the implementation of the |
cgroup | This module handles cgroup operations. Start here! |
cgroup_builder | This module allows the user to create a control group using the Builder pattern. |
cpu | This module contains the implementation of the |
cpuacct | This module contains the implementation of the |
cpuset | This module contains the implementation of the |
devices | This module contains the implementation of the |
error | |
events | |
freezer | This module contains the implementation of the |
hierarchies | This module represents the various control group hierarchies the Linux kernel supports. |
hugetlb | This module contains the implementation of the |
memory | This module contains the implementation of the |
net_cls | This module contains the implementation of the |
net_prio | This module contains the implementation of the |
perf_event | This module contains the implementation of the |
pid | This module contains the implementation of the |
rdma | This module contains the implementation of the |
systemd | This module contains the implementation of the |
Structs
BlkIoDeviceResource | Weight for a particular block device. |
BlkIoDeviceThrottleResource | Provides the ability to throttle a device (both byte/sec, and IO op/s) |
BlkIoResources | General block I/O resource limits. |
Cgroup | A control group is the central structure to this crate. |
CgroupPid | A structure representing a |
CpuResources | Resources limits about how the tasks can use the CPU. |
DeviceResource | A device resource that can be allowed or denied access to. |
DeviceResources | Limit the usage of devices for the control group’s tasks. |
HugePageResource | A hugepage type and its consumption limit for the control group. |
HugePageResources | Provides the ability to set consumption limit on each type of hugepages. |
MemoryResources | Resource limits for the memory subsystem. |
NetworkPriority | Assigned priority for a network device. |
NetworkResources | Collections of limits and tags that can be imposed on packets emitted by the tasks in the control group. |
PidResources | Resources limits on the number of processes. |
Resources | The resource limits and constraints that will be set on the control group. |
Enums
MaxValue | The values for |
Subsystem | Contains all the subsystems that are available in this crate. |
Traits
Controller | A Controller is a subsystem attached to the control group. |
Hierarchy | Control group hierarchy (right now, only V1 is supported, but in the future Unified will be implemented as well). |
Functions
flat_keyed_to_hashmap | |
flat_keyed_to_vec | |
nested_keyed_to_hashmap | |
parse_max_value |