Mojo::...Cpuacct(3pm)
π§ Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuacct β the tea β
okay bestie, welcome to the manual page for Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuacct π this is the CGroups v1 Cpuacct Controller β yes that's the whole NAME section, we're keeping it, periodt.
β¨ SYNOPSIS β¨
here's how you actually use it, no cap:
use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );
$cgroup->cpuacct->current;
look at her go π«Ά make the cgroup, then call current on the cpuacct controller. iconic behaviour fr fr.
πΈ DESCRIPTION πΈ
so here's the vibe check π this module uses features that are only available on Linux, and it requires cgroups plus the capability for unshare syscalls to achieve pid isolation. that's the whole deal, bestie β no Linux, no cgroups, no unshare capability, no pid isolation. that's just how it is π
π METHODS π
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID inherits all methods from Mojo::Base and implements the following new ones.
and that'sβ¦ literally it π the list of new ones is empty in the source, so we're not inventing any. no making stuff up in this house π
π 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. π (yes, same terms as Perl itself β that's the legal slay)
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com> β the main character who wrote this π
perl v5.42.0 π 2025-07-25 β that's the version and date from the footer, bestie, and honestly? she ate. this has been your girl signing off from Mojo::...Cpuacct(3pm), go forth and isolate those pids π¦β¨
π¦ where this page comes from
- fedora 43: perl-Mojo-IOLoop-ReadWriteProcess 1.1.0-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms