Run below command to disable swap.
# sudo swapoff -a
Run below command to make the change permenant
# sudo sed -i '/ swap /d' /etc/fstab
Run below command to validate swap is disabled. You should see no entries for swap.
# cat /proc/swaps
Products to which Article Applies
All Linux Operating Systems
Search Keywords: swap swapping disable disabling remove delete how to memory linux os operating system systems memories command commands
Article Author: Tarun Boyella
No comments:
Post a Comment