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
Next revision Both sides next revision
sysctl [2015/07/24 14:09]
steve
sysctl [2015/07/24 14:12]
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]]