[−][src]Trait liboj_cgroups::subsystem::Controller
Required methods
fn procs(&self) -> Box<dyn AttrFile<Vec<Pid>, Pid>>
List of thread group IDs in the cgroup. This list is not guaranteed to be sorted or free of duplicate TGIDs, and userspace should sort/uniquify the list if this property is required. Writing a thread group ID into this file moves all threads in that group into this cgroup.
fn tasks(&self) -> Box<dyn AttrFile<Vec<Pid>, Pid>>
List of tasks (by PID) attached to that cgroup. This list is not guaranteed to be sorted. Writing a thread ID into this file moves the thread into this cgroup.
fn notify_on_release(&self) -> Box<dyn AttrFile<bool>>
Flag if run the release agent on exit?
fn release_agent(&self) -> Box<dyn AttrFile<PathBuf, Path>>
The path to use for release notifications (exists in the top cgroup only)