Mojo::...Cpuacct(3pm)

🧚 Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuacct β€” the tea β˜•

okay bestie, welcome to the manual page for Mojo::IOLoop::ReadWriteProcess::CGroup::v1::Cpuacct πŸ’– this is the CGroups v1 Cpuacct Controller β€” yes that's the whole NAME section, we're keeping it, periodt.


✨ 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->cpuacct->current;

look at her go 🫢 make the cgroup, then call current on the cpuacct controller. iconic behaviour fr fr.


🌸 DESCRIPTION 🌸

so here's the vibe check πŸ‘‘ this module uses features that are only available on Linux, and it requires cgroups plus the capability for unshare syscalls to achieve pid isolation. that's the whole deal, bestie β€” no Linux, no cgroups, no unshare capability, no pid isolation. that's just how it is πŸ’…


πŸ’… METHODS πŸ’…

Mojo::IOLoop::ReadWriteProcess::CGroup::v1::PID inherits all methods from Mojo::Base and implements the following new ones.

and that's… literally it 😭 the list of new ones is empty in the source, so we're not inventing any. no making stuff up in this house πŸ™ˆ

πŸ“œ 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. πŸŽ€ (yes, same terms as Perl itself β€” that's the legal slay)


πŸ‘‘ AUTHOR πŸ‘‘

Ettore Di Giacinto <edigiacinto@suse.com> β€” the main character who wrote this πŸ’œ


perl v5.42.0 🌈 2025-07-25 β€” that's the version and date from the footer, bestie, and honestly? she ate. this has been your girl signing off from Mojo::...Cpuacct(3pm), go forth and isolate those pids πŸ¦‹βœ¨

πŸ“¦ where this page comes from