<> == Automatically reboot on kernel panic == Linux can automatically reboot after a kernel panic. The sysctl /proc/sys/kernel/panic controls this; 0 (default) disables the behavior, while any value greater than zero is the number of seconds to wait before reboot. This can be made persistent by setting in /etc/sysctl.conf: {{{ kernel.panic = 5 }}} Linux will wait 5 seconds before automatically rebooting. == Compiling a single Linux kernel module == {{{#!highlight sh numbers=off make -C /lib/modules/`unam e -r`/build M=`pwd` }}} == Disable IPv6 == Add ipv6.disable=1 as a kernel boot parameter. == Empty disk cache == Forces the Linux kernel to discard/invalidate all disk caches. {{{#!highlight sh numbers=off sync echo 3 > /proc/sys/vm/drop_caches }}} ---- CategoryCheatSheet