Mojo::IOLoop::ReadWriteProcess::CGroup::v23pm
Cgroups v2 implementation.
Usage
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');
Overview
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.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.