Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2009-07-10 23:37:21
Size: 146
Editor: SamatJain
Comment: Add category
Revision 4 as of 2010-08-30 20:20:15
Size: 379
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

== 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
sync
echo 3 > /proc/sys/vm/drop_caches
}}}

Compiling a single Linux kernel module

   1 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.

   1 sync
   2 echo 3 > /proc/sys/vm/drop_caches


CategoryCheatSheet

SamatsWiki: CheatSheet/LinuxKernel (last edited 2011-02-08 01:53:47 by SamatJain)