OOMCTL(1)
π
OOMCTL(1) β the oomctl era
ok so bestie, welcome to oomctl, a page from manual section 1 (that's the "commands you just type" section, iykyk). Buckle up, this one's short and honestly kind of a vibe.
β¨ NAME β¨
oomctl β analyze the state stored in systemd-oomd. that's it. that's the whole job. she's a state-inspector and she's slaying at it π
π¦ SYNOPSIS π¦
oomctl [OPTIONS...] {COMMAND}
options first, then a command β like outfit first, then the fit check. simple.
πΈ DESCRIPTION πΈ
so oomctl is your little window into the various contexts that get read in by the systemd(1) userspace out-of-memory (OOM) killer, aka systemd-oomd(8). (yes, the thing that unalives your memory-hungry processes before your whole session goes down. dramatic, but necessary π«Ά)
think of it as the group chat where oomd spills everything she's currently holding onto. you're just here to read the messages, lowkey.
π COMMANDS π
these are the commands she understands, fr fr:
dumpβ show the current state of the cgroups and system contexts stored bysystemd-oomd. that's the whole tea β the cgroup contexts, the system contexts, all of it, dumped out for your reading pleasure β¨
Added in version 247. (so if you're on something older, she simply wasn't born yet π)
π OPTIONS π
these are the options she gets. all three of them. she's not complicated and that's iconic:
-h,--helpβ print a short help text and exit. the "who are you and what do you do" option π--versionβ print a short version string and exit. the "how old are you" option π--no-pagerβ do not pipe output into a pager. for when you simply cannot with the scrolling situation and want everything dumped straight to your terminal, nolessmoment, no waiting π
β EXIT STATUS β
- on success,
0is returned. slay. π - otherwise you get a non-zero failure code. not slay. something went sideways and she's telling you about it π
π SEE ALSO π
go read these too, bestie, they're all in the family:
systemd(1)systemd-oomd.service(8)oomd.conf(5)
ok that's the whole page, no cap. she's small, she's focused, she does one thing and she does it well π§ββοΈ
this has been oomctl, brought to you by systemd 261.3 β now go dump some contexts and have the day you deserve ππΈβ¨
π¦ where this page comes from
- ubuntu stonking: systemd-oomd 261.3-0ubuntu3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms