Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can define swapiness in /etc/sysctl.d/99-sysctl.conf (sudo gedit /etc/sysctl.d/99-sysctl.conf), and define it there:

vm.swappiness=x

for example:

vm.swappiness=10

You can define swapiness in /etc/sysctl.d/99-sysctl.conf (sudo gedit /etc/sysctl.d/99-sysctl.conf), and define it there:) by adding:

vm.swappiness=x

for example:

vm.swappiness=10

You can define swapiness in /etc/sysctl.d/99-sysctl.conf (sudo gedit /etc/sysctl.d/99-sysctl.conf) by adding:

vm.swappiness=x
vm.swappiness = x

for example:

vm.swappiness=10
vm.swappiness = 10

You should be able to check the swappiness afterwards by running sysctl -a.

You can define swapiness in /etc/sysctl.d/99-sysctl.conf (sudo gedit /etc/sysctl.d/99-sysctl.conf) by adding:

vm.swappiness = x

for example:

vm.swappiness = 10

You should be able to check the swappiness afterwards by running sysctl -a-a | grep vm.swappi.

You can define swapiness in /etc/sysctl.d/99-sysctl.conf (sudo gedit /etc/sysctl.d/99-sysctl.conf) by adding:

vm.swappiness = x

for example:

vm.swappiness = 10

You should be able to check the swappiness afterwards by running sysctl -a | grep vm.swappivm.swappiness.