Mojo::...CGroup(3pm)
π NAME π
Mojo::IOLoop::ReadWriteProcess::CGroup β the base object for CGroups implementations, bestie. That's literally it, she's the blueprint, the template, the main character all the other CGroup classes copy their homework from. π
β¨ SYNOPSIS β¨
okay so here's the whole vibe in code form, no cap:
use Mojo::IOLoop::ReadWriteProcess::CGroup;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup->new( name => "test" );
$cgroup->create;
$cgroup->exists;
my $child = $cgroup->child('bar');
like. you spin up a $cgroup with a name, you create her, you check if she exists (she does, iconic), and then you can grab a $child called 'bar' off her. slay. π
π¦ DESCRIPTION π¦
So here's the tea, and it's important: this module uses features that are only available on Linux. periodt. π₯
On top of that, she requires cgroups and the capability for unshare syscalls in order to achieve pid isolation. So if you're out here on macOS or BSD or Windows thinking you can just vibe your way through this β nah, bestie, this one's a Linux-exclusive event. π
πΈ METHODS πΈ
Mojo::IOLoop::ReadWriteProcess::CGroup inherits all methods from Mojo::Base and implements the following new ones:
...and that's the list, babe. She said "new ones" and then said nothing else. The inherited Mojo::Base methods are doing all the heavy lifting here, and honestly? respecting the silence. π
π 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. π«Ά
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com> π
and that's a wrap on the User Contributed Perl Documentation cutie β¨ β this page came to you courtesy of perl v5.42.0 and was stamped 2025-07-25, so go forth and isolate your pids responsibly, mwah πππ¦
π¦ 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