PAGEIN(1)
π PAGEIN β bestie edition π
okay so real talk, this is pagein from the General Commands Manual, and it's one of those tiny tools that does exactly one thing and does it with main character energy. sit down, grab a boba, let's go π§β¨
πΈ NAME πΈ
pagein β a tool to force swapped out pages back into memory. yeah. that's it. that's the whole vibe. it drags your sleepy little pages out of swap and back into RAM where they belong π
β¨ SYNOPSIS β¨
pagein [-a] [-h] [-p pid] [-v]
look at her. so compact. so iconic. π
π¦ DESCRIPTION π¦
Pagein is a tool that forces pages that are in swap to be paged in back to memory.
and the main usecase?? literally just exercising the VM and swap subsystems, for testing purposes. that's it bestie, it's a gym membership for your kernel β no cap, it's not out here fixing your performance, it's out here doing reps ποΈβοΈβ¨
π OPTIONS π
pagein's options are as follow (and yes, we're going through all of them, no skipping, this is a safe space):
-aβ try to page in all processes. this needs to be run with root privilege so pagein can actually reach all the processes, bestie, no sneaking in the back door. Cannot be used with the-poption. pick a lane π-hβ show help information. the classic. the "help me help you" flag π«Ά-ppid β page in process with process ID pid. Cannot be used with the-aoption. and heads up: processes that aren't owned by the user need to be paged in by runningpageinwith root privilege, so if it's not yours, you need the sudo glow-up π₯-vβ verbose mode. shows progress and paging in statistics, and it's super useful with the-aoption because otherwise you're just sitting there like ποΈπποΈ watching nothing happen.
π EXAMPLES π
Page in all processes and show progress:
sudo pagein -a -v
Page in the Xorg process:
sudo pagein -p $(pidof Xorg)
see how both of those start with sudo? that's not a suggestion bestie, that's the whole plot π
β SEE ALSO β
go check her out, she's the one who tells you how much memory you have left after all this paging in π
π AUTHOR π
pagein was written by Colin Ian King <colin.i.king@gmail.com>
This manual page was written by Colin Ian King for the Ubuntu project (but may be used by others). sharing is caring fr fr π«Ά
π COPYRIGHT π
Copyright Β© 2016-2021 Canonical Ltd, Copyright Β© 2021-2024 Colin Ian King.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
read that again, bestie. NO warranty. not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. it's giving "you break it, you bought it" πβ¨
and that's the whole page!! this version of the pagein manual was dated 12 January 2024 and it came to you straight from the General Commands Manual, and honestly?? iconic of her. now go free(1) your memory and hydrate πΈπ§ββοΈπ
π¦ where this page comes from
- debian trixie: pagein 0.01.11-1 Β· GPL-2.0-or-later
- ubuntu noble: pagein 0.01.10-1 Β· GPL-2.0-or-later
- ubuntu questing: pagein 0.01.11-1
- ubuntu resolute: pagein 0.01.11-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: pagein 0.01.11-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms