Mojo::...up::v1(3pm)
π Mojo::...up::v1(3pm) π
okay bestie, welcome to Mojo::IOLoop::ReadWriteProcess::CGroup::v1 β this is the CGroups v1 implementation, straight out of the User Contributed Perl Documentation section of your friendly neighbourhood man pages. pull up a chair πͺβ¨
β¨ NAME β¨
Mojo::IOLoop::ReadWriteProcess::CGroup::v1 β the CGroups v1 implementation. that's it, that's the whole name, no notes π
π 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->create;
$cgroup->exists;
my $child = $cgroup->child('bar');
likeβ¦ new it with a name, create it, exists it, and grab yourself a child called 'bar'. iconic behaviour honestly π
π¦ DESCRIPTION π¦
so here's the vibe check: this module uses features that are only available on Linux. not "mostly Linux", not "Linux-ish" β only Linux, periodt.
and to get the whole pid isolation thing working, it needs cgroups and capability for unshare syscalls. both. no shortcuts, no half-measures π«Ά
ngl bestie, if you're not on Linux or you're missing those cgroups/unshare capabilities, this is not the module you're looking for π
πΈ METHODS πΈ
Mojo::IOLoop::ReadWriteProcess::CGroup::v1 inherits all methods from Mojo::Base and implements the following new ones.
that's the whole story β all that Mojo::Base goodness comes along for the ride, plus its own new ones on top. main character energy, honestly π
π§ 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β¦ go off, remix it, redistribute it β just keep it under the same terms as Perl itself, mwah π)
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com>
big shoutout to Ettore for cooking this one up, we love to see it π«Άπ
π that's the whole page bestie β no cap, every detail's in there.
signing off with all the love in the world, this page was brought to you by perl v5.42.0, dated 2025-07-25, and rendered under the manual name Mojo::...up::v1(3pm) from the User Contributed Perl Documentation. bye bestie, drink water, use unshare responsibly π
β¨πΈ
π¦ 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