module Crysco::Cgroups

Defined in:

cgroups.cr

Class Method Summary

Class Method Detail

def self.exists?(hostname) #

[View source]
def self.free(hostname) #

[View source]
def self.get_pid_fd(hostname) : LibC::Int #

for joining an existing set of namespaces, look up a pid we previously added to a cgroup


[View source]
def self.initialize(hostname, pid) : Bool #

[View source]
def self.join(hostname, pid) #

add other process to existing cgroup


[View source]