Differences between revisions 3 and 4
Revision 3 as of 2010-01-14 07:18:43
Size: 220
Editor: SamatJain
Comment:
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 7: Line 7:
=== Disable IPv6 === == Disable IPv6 ==
Line 10: Line 10:

== 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)