DOKK / manpages / debian 12 / libmojo-ioloop-readwriteprocess-perl / Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netprio.3pm.en
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netprio(3pm) User Contributed Perl Documentation Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netprio(3pm)

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

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

This module uses features that are only available on Linux, and requires cgroups and capability for unshare syscalls to achieve pid isolation.

Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Netprio inherits all methods from Mojo::Base and implements the following new ones.

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.

Ettore Di Giacinto <edigiacinto@suse.com>

2022-12-30 perl v5.36.0