Sysctl: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
User-supplied sysctls are best provided via files dropped into <tt>/etc/sysctl.d</tt> (these files must have a <tt>conf</tt> extension). Each has a corresponding entry in <tt>/proc/sys</tt>, assuming [[procfs]] is mounted. | User-supplied sysctls are best provided via files dropped into <tt>/etc/sysctl.d</tt> (these files must have a <tt>conf</tt> extension). Each has a corresponding entry in <tt>/proc/sys</tt>, assuming [[procfs]] is mounted. | ||
==Some favorite | ==Some favorite sysctls== | ||
* <tt>kernel.dmesg_restrict=0</tt> allows regular users to see <tt>dmesg</tt> output | * <tt>kernel.dmesg_restrict=0</tt> allows regular users to see <tt>dmesg</tt> output | ||
* <tt>kernel.nmi_watchdog=0</tt> disables the NMI watchdog, freeing up a [[Performance Counters|performance counter]] | * <tt>kernel.nmi_watchdog=0</tt> disables the NMI watchdog, freeing up a [[Performance Counters|performance counter]] | ||