Editing Sysctl (command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | |||
* https://man7.org/linux/man-pages/man8/sysctl.8.html | * https://man7.org/linux/man-pages/man8/sysctl.8.html | ||
* <code>sysctl -a, --all</code> Display all values currently available. | * <code>sysctl -a, --all</code> Display all values currently available. | ||
− | * <code> | + | * <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> | ||
Line 11: | Line 10: | ||
* <code>sysctl [[vm.]][[swappiness]]</code> | * <code>sysctl [[vm.]][[swappiness]]</code> | ||
− | + | sysctl -w vm.[[nr_hugepages]] = 204832 | |
sysctl -w vm.[[max_map_count]]=262144 | sysctl -w vm.[[max_map_count]]=262144 | ||
Line 47: | Line 46: | ||
* [[K8s 1.21]] (April 2021) added support for sysctl | * [[K8s 1.21]] (April 2021) added support for sysctl | ||
* [[Redis values.yml]]: sysctl.enabled: false | * [[Redis values.yml]]: sysctl.enabled: false | ||
− | |||
== See also == | == See also == | ||
* {{sysctl}} | * {{sysctl}} | ||
+ | * {{procps}} | ||
+ | * {{ps}} | ||
* {{Linux Kernel}} | * {{Linux Kernel}} | ||
[[Category:Linux commands]] | [[Category:Linux commands]] |
Advertising: