Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Author

       Ettore Di Giacinto <edigiacinto@suse.com>

perl v5.36.0                                       2023-10-26             Mojo::IOLoop::R...oup::v1::Netcls(3pm)

Description

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

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.

Methods

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

Name

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

Synopsis

           use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;

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

           $cgroup->netcls->current;

See Also