Created
July 7, 2021 12:15
-
-
Save utgupta27/4c55fd9195f528ff2cfa2522cd931ec8 to your computer and use it in GitHub Desktop.
Check and Change the System Swappiness in Linux Distributions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
View the current system swappiness: | |
$sysctl vm.swappiness | |
Temporarily configure the System Swappiness: | |
$sudo sysctl vm.swappiness=10 | |
(The changes will persist until you restart your PC) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment