Mojo::...Cpuset(3pm)
π Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuset β CGroups v1 Cpuset Controller π
okay bestie, so this page is from the User Contributed Perl Documentation corner of the universe, and it's all about Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuset, aka the CGroups v1 Cpuset Controller. yes, the name is a whole mouthful, we're gonna get through it together π«Ά
β¨ SYNOPSIS β¨
like, here's literally the whole vibe in code form:
use Mojo::IOLoop::ReadWriteProcess::CGroup::v1;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new( name => "test" );
$cgroup->cpuset->current;
that's it. that's the moment. main character energy fr fr π
πΈ DESCRIPTION πΈ
so here's the tea, and it's a Linux-only tea π§:
This module uses features that are only available on Linux, and it requires cgroups plus the capability for unshare syscalls to achieve pid isolation.
translation: no Linux, no cgroups, or no unshare capability β this module is not the one, and it's not gonna pretend otherwise. it's giving very specific requirements, and we respect that π
π METHODS π
Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuset inherits all methods from Mojo::Base and implements the following new ones.
and yes, the "following new ones" list is... literally not here π she inherits everything from Mojo::Base and that's the whole flex. iconic behavior honestly, no notes π
π₯ 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.
so like β free software, same terms as Perl itself, go wild but respectfully, periodt β¨
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com>
the legend behind the whole thing, say thank you π«Ά
and that's the whole page bestie!! this doc came to you courtesy of perl v5.42.0, dated 2025-07-25 β slay, read responsibly, and go isolate some 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