Tip:
Highlight text to annotate it
X
hi guys today i am going to show you how to change swappiness value in ubuntu 12.04
first open your terminal and type
"sudo sysctl vm.swappiness=10" this method will change after reboot
type yor password and press enter
to keep it after reboot you need to edit the file "sudo gedit /etc/sysctl.conf"
A text file will be opened add this line at the end of the file
"vm.swappiness=10" and save the file
you can make the changes to take effect or you can do it as root
you need to create a root password you can see the video on our channel
thrn type "su" and type your root password and press enter
and then type "swapoff -a"and press enter
and again type "swapon'' -a and press enter
and type exit
to check your swap value type "cat /proc/sys/vm/swappiness" and press enter
thanks guys for watching if you any doubt see our blog links in description share,subscribe,stayconnected