NAME
Mojo::IOLoop::ReadWriteProcess::CGroup::v2 - CGroups v2 implementation.
SYNOPSIS
use Mojo::IOLoop::ReadWriteProcess::CGroup::v2;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v2->new( name => "test" );
$cgroup->create;
$cgroup->exists;
my $child = $cgroup->child('bar');
DESCRIPTION
This module uses features that are only available on Linux, and requires cgroups and capability for unshare syscalls to achieve pid isolation.
METHODS
Mojo::IOLoop::ReadWriteProcess::CGroup::v2 inherits all methods from Mojo::Base and implements the following new ones.
LICENSE
Copyright (C) Ettore Di Giacinto.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Ettore Di Giacinto <edigiacinto@suse.com>