Discover Packages
github.com/goppydae/gapi
core
cgroups
package
Version:
v0.1.0-proto2
Opens a new window with list of versions in this module.
Published: Jul 28, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Add moves a PID into the cgroup
Cleanup removes the cgroup
Create creates a new cgroup and sets limits
Setup prepares the root cgroup for delegation.
It moves the current process (gapid) into 'gapid-infra/supervisor'.
Then it enables controllers (+cpu +memory) in 'gapid-infra'.
ResourceSpec defines limits
Stats holds resource usage statistics
GetStats reads current resource usage from a cgroup
Source Files
¶
Click to show internal directories.
Click to hide internal directories.