Mojo::...v2::CPU(3pm)
β¨ NAME β¨
Mojo::IOLoop::ReadWriteProcess::CGroup::v2::CPU β the CGroups v2 CPU Controller π
bestie, this is the whole thing, and it's a bop. It's part of the User Contributed Perl Documentation, and honestly? Queen behavior.
π SYNOPSIS π
okay so here's the vibe, copy-paste it and go:
use Mojo::IOLoop::ReadWriteProcess::CGroup::v2;
my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v2->new( name => "test" );
$cgroup->cpu->stat;
look at her. name => "test" because we're keeping it cute and simple, then $cgroup->cpu->stat to pull the stats. iconic. no cap. π¦
πΈ DESCRIPTION πΈ
This module uses features that are only available on Linux kernels. π§β¨
bestie I'm gonna hold your hand when I say this: if you're not on a Linux kernel, this is not it. it's giving "wrong OS". fr fr. π
π METHODS π
Mojo::IOLoop::ReadWriteProcess::CGroup::v2::CPU inherits all methods from Mojo::Base and implements the following new ones.
So like, all the Mojo::Base family methods? yours. automatically. plus the new ones this module brings to the table. main character energy all around. π
π 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 bestie, go off, remix it, the terms are the Perl ones.)
π AUTHOR π
Ettore Di Giacinto <edigiacinto@suse.com>
and that's the whole page!! ππβ¨ This was perl v5.42.0, dated 2025-07-25, and it's the Mojo::...v2::CPU(3pm) manual page β slay, go read it again, iykyk ππ
π·
π¦ 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