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

πŸ’– Mojo::IOLoop::ReadWriteProcess::CGroup::v2::PID πŸ’–

okay bestie, so this is the manual page for Mojo::...v2::PID (yes the real full name is a whole mouthful, we'll get to it), part of the User Contributed Perl Documentation collection. she's giving cgroup controller energy and she's serving. πŸŽ€


✨ NAME ✨

Mojo::IOLoop::ReadWriteProcess::CGroup::v2::PID β€” the CGroups v2 PID Controller πŸ‘‘

like. that's the whole vibe. she controls PIDs in a v2 cgroup. iconic.


🌸 SYNOPSIS 🌸

here's how you actually use her, copy-paste ready, no cap:

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

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

$cgroup->pid->current;

that's it. that's the whole thing. you make a cgroup named "test", then you hit up her pid and ask for current. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

heads up bestie: this module uses features that are only available on Linux kernels. 🐧

so like, if you're on macOS or BSD or Windows or literally anything else, this is not your moment. Linux only. periodt.


πŸ’… METHODS πŸ’…

Mojo::IOLoop::ReadWriteProcess::CGroup::v2::PID inherits all the methods from Mojo::Base, and then she adds the following new ones of her own. so everything Mojo::Base gives you? you still have it. she just also has extra. main character behavior fr fr. πŸ‘‘


πŸ“œ 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 page, bestie!! this one came from perl v5.42.0, dated 2025-07-25, and the whole thing is filed under Mojo::...v2::PID(3pm) πŸ’– go forth and control your PIDs, you absolute legend 🧚✨

πŸ“¦ where this page comes from