Difference between revisions of "Sysctl (command)"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
* <code>sysctl -a, --all</code> Display all values currently available.
 
* <code>sysctl -a, --all</code> Display all values currently available.
* <code>sysctl -p</code> Load in sysctl settings.
+
* <code>[[sysctl -p]]</code> Load in sysctl settings.
 
* <code>[[/etc/sysctl.d/]]</code>
 
* <code>[[/etc/sysctl.d/]]</code>
 
* <code>[[/etc/sysctl.conf]]</code>
 
* <code>[[/etc/sysctl.conf]]</code>

Revision as of 11:55, 28 August 2023



sysctl -w vm.nr_hugepages = 204832
sysctl -w vm.max_map_count=262144


KVM VNC remote viewer

iptables -t nat -A PREROUTING -i eno1 -p tcp --dport 5900 -j DNAT --to 127.0.0.1:5900
sysctl -w net.ipv4.ip_forward=1
sysctl -p /etc/sysctl.conf




  • sysctl -q net.ipv4.conf.all.src_valid_mark=1


  • sysctl -w vm.nr_hugepages = 204832

Related terms

See also

  • https://github.com/prometheus/node_exporter
  • https://github.com/moby/moby/pull/37701
  • Advertising: