Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. sudo swapon --show
  2.  
  3. sudo fallocate -l 1G /swapfile
  4.  
  5. sudo chmod 600 /swapfile # sets the file to be owned by root
  6. sudo mkswap /swapfile # mkswap tool to allocate swap in the file
  7. sudo swapon /swapfile # activate the swap
  8. sudo nano /etc/fstab # open the file to make changes permanent
  9.  
  10. sudo swapon --show # show if its working
  11. sudo free -h # show Memory and Swap
  12.  
  13. sudo swapoff -v /swapfile
  14.  
  15. sudo rm /swapfile # remove the swap file
  16.  
  17. RAM No hibernation With Hibernation Maximum
  18.  
  19. 1GB 1GB 2GB 2GB
  20. 2GB 1GB 3GB 4GB
  21. 3GB 2GB 5GB 6GB
  22. 4GB 2GB 6GB 8GB
  23. 5GB 2GB 7GB 10GB
  24. 6GB 2GB 8GB 12GB
  25. 8GB 3GB 11GB 16GB
  26. 12GB 3GB 15GB 24GB
  27. 16GB 4GB 20GB 32GB
  28. 24GB 5GB 29GB 48GB
  29. 32GB 6GB 38GB 64GB
  30. 64GB 8GB 72GB 128GB
  31. 128GB 11GB 139GB 256GB
  32. 256GB 16GB 272GB 512GB
  33. 512GB 23GB 535GB 1TB
  34. 1TB 32GB 1056GB 2TB
  35. 2TB 46GB 2094GB 4TB
  36. 4TB 64GB 4160GB 8TB
  37. 8TB 91GB 8283GB 16TB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement