Mojo::...up::v2(3pm)

πŸ’– NAME πŸ’–

Mojo::IOLoop::ReadWriteProcess::CGroup::v2 β€” bestie, this is the CGroups v2 implementation ✨ (and yes, the man page header up top squishes it down to Mojo::...up::v2(3pm) like it's too cool for full names, but we know the truth 🫢)


🌸 SYNOPSIS 🌸

okay so here's the whole vibe, literally copy-paste this energy:

use Mojo::IOLoop::ReadWriteProcess::CGroup::v2;

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

$cgroup->create;
$cgroup->exists;
my $child = $cgroup->child('bar');

like, new it, create it, check if it exists, then go get yourself a child('bar') πŸ’… periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

Lowkey important: this module uses features that are only available on Linux. It requires cgroups and the capability for unshare syscalls to achieve pid isolation. no cap, if you're not on Linux this is not it πŸ™ˆ


✨ METHODS ✨

Mojo::IOLoop::ReadWriteProcess::CGroup::v2 inherits all methods from Mojo::Base and implements the following new ones. iykyk πŸ‘‘


πŸŽ€ 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. slay, it's free fr fr 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Ettore Di Giacinto <edigiacinto@suse.com> β€” the icon, the main character, the whole moment 🫢


and that's the page bestie!! πŸ’– this was served up as perl v5.42.0, dated 2025-07-25, from the User Contributed Perl Documentation collection β€” thanks for reading, mwah πŸ˜­πŸŽ€β­

πŸ“¦ where this page comes from