andycivil
November 2nd, 2012, 11:49 PM
How can I absolutely turn swap off? Setting 'swappiness' to zero doesn't actually prevent it. I want it so that when I run "top" it actually says "Swap: 0k Total...".
Forgive me if I don't explain why, but I think it might invite argument.
It's looking like the "swapoff -a" command is what I need, but I don't know where to put it, and it would be better to not enable it rather than having it and then disabling it.
Forgive me if I don't explain why, but I think it might invite argument.
It's looking like the "swapoff -a" command is what I need, but I don't know where to put it, and it would be better to not enable it rather than having it and then disabling it.