Methods |
public
static
|
cpu_usage(string $group): array
Get CPU usage for controller
Get CPU usage for controller
Parameters
|
#
|
public
static
|
io_usage(?string $group): array
|
#
|
public
static
|
pid_usage(?string $group): array
|
#
|
public
static
|
get_memory(string $group): array
Get memory usage from controller
Get memory usage from controller
Parameters
|
#
|
public
static
|
memory_usage(string $group): array
Get memory usage from controller
Get memory usage from controller
Parameters
|
#
|
public
static
|
create(Group $group): bool
Create a new group within a controller
Create a new group within a controller
|
#
|
public
static
|
configurationFromGroup(Group $group): string
|
#
|
public
static
|
delete(Group $group, Controller $controller): bool
Delete a group from a controller
s
Delete a group from a controller
s
|
#
|
public
static
|
removeConfiguration(Group $group): bool
Remove group from cgroup configuration
Remove group from cgroup configuration
Parameters
|
#
|
public
static
|
exists(Controller|string $controller): bool
Controller exists
Parameters
$controller |
controller name, group-specific or global
|
|
#
|
public
static
|
charge(Group $group, int|null $pid = null): bool
Charge a process
|
#
|
public
static
|
getControllers(): array
Get all configured controllers
Get all configured controllers
|
#
|
public
static
|
resolveParameterController(string $svc): string|null
Get controller class name from cgroup service class
Get controller class name from cgroup service class
|
#
|
public
static
|
mounted(string $controller, string|null $subtree = null): bool
cgroup controller interface
cgroup controller interface
|
#
|
public
static
|
mountAll(): bool
Mount all cgroup controllers into shared slice
Mount all cgroup controllers into shared slice
|
#
|
public
static
|
unmountAll(): bool
Unmount all cgroup controllers from shared slice
Unmount all cgroup controllers from shared slice
|
#
|
public
static
|
activeControllers(): array
Get active controllers filtered, merging same-path controllers
Get active controllers filtered, merging same-path controllers
|
#
|
public
static
|
controllerPathPattern(): string|null
Get glob-style pattern for all controllers
Get glob-style pattern for all controllers
|
#
|
public
static
|
version(): ?int
|
#
|