How to disable all swaps on Linux Posted on Mar 24, 2018 by Q A In QA How to disable all swaps on Linux to force the application/kernel use the physical memory? To diable all swaps on Linux, run this command as root: # swapoff -a -a means all swaps. Similarly, to enable all swaps on Linux: # swapon -a Read more: How to disable the coredump function of systemd on Linux? How to effectively disable a Linux user account? How to disable an option with a bash script? How to Disable IPv6 on Linux How to Disable and Enable Laptop Keyboard for X.org Server in Linux How to disable auto mounting on Linux Mint Cinnamon? How to disable SSH reverse DNS lookup on Linux? How to disable laptop’s internal keyboard on Linux?