Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
sysctl [2015/07/24 14:09]
steve
sysctl [2015/11/30 14:23]
steve
Line 20: Line 20:
 </​code>​ </​code>​
  
-** Display ​all sysctl settings: ​**+To display ​all sysctl settings:
  
 <​code>​sysctl -a</​code>​ <​code>​sysctl -a</​code>​
  
-** Set swapiness amount **+You can set a value directly as well: 
 + 
 +<​code>​ 
 +sysctl -w net.ipv4.ip_forward=1 
 +</​code>​ 
 + 
 +=== Swappiness ===
  
   * [[http://​www.cloudibee.com/​linux-performance-tuning-vm-swappiness/​|Linux performance tuning – vm.swappiness]]   * [[http://​www.cloudibee.com/​linux-performance-tuning-vm-swappiness/​|Linux performance tuning – vm.swappiness]]
Line 34: Line 40:
 </​code>​ </​code>​
  
 +See also [[https://​en.wikipedia.org/​wiki/​Swappiness|the Wikipedia article]] for a reference.