System Ubuntu 14.04
I want to change my swappiness from the default 60 to 10. According to this answer https://askubuntu.com/a/103916/71679 I need to log in as root and edit /proc/sys/vm/swappiness
and add or edit to vm.swappiness = 10
When opening that file as root I only see the number 60 when I add vm.swappiness = 10
and try to save I get Error writing /proc/sys/vm/swappiness: Invalid argument
If I simply change 60 to 10 the file saves without issue I check the changes take place with cat /proc/sys/vm/swappiness
it shows the changes took place
By editing this file as root I was under the assumption the changes would remain permanent but once I shut down and restart the default is back to 60. Why aren't the changes remaining permanent? What writes the file back to 60 after reboot?