logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Ettore Di Giacinto <edigiacinto@suse.com>

perl v5.40.1                                       2025-08-10              Mojo::IOLoop::...up::v1::Cpuacct(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::PID inherits all methods from Mojo::Base and implements the
       following new ones.

Name

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

Synopsis

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

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

           $cgroup->cpuacct->current;

See Also