Swap

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
Kevin (Talk | contribs)
(New page: Category:Linux Category:GNOME == Swappiness Parameter == * Check swappiness value <pre> $ cat /proc/sys/vm/swappiness </pre> * Change swappiness value (This is only a temporary...)

Latest revision as of 23:32, 24 April 2009


Swappiness Parameter

  • Check swappiness value
$ cat /proc/sys/vm/swappiness 
  • Change swappiness value (This is only a temporary change so restarting Linux will nullify it).
$ sudo sysctl vm.swappiness=5 
  • So to change the swappiness value permanently, open the /etc/sysctl.conf file and edit vm.swappiness (add it if it does not exist).
vm.swappiness=5 
Personal tools