Scroll to navigation

Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID(3pm) User Contributed Perl Documentation Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID(3pm)

NAME

Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID - CGroups v1 PID Controller.

SYNOPSIS

    use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;
    my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );
    $cgroup->pid->current;

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::v1::PID inherits all methods from Mojo::EventEmitter 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>

2024-03-08 perl v5.40.0