Kernel related commands

Here I’d like to collect some kernel related commands used for debugging my MacBookPro…

 

ioreg -l

ioreg displays the I/O Kit registry.  The use of the -c, -l, or -n
options cause ioreg to show the properties of objects matching the speci-
fied criteria.  By default, ioreg does not show the properties of an
object.

sudo kext[un]load /System/Library/Extensions/AppleAirPort2.kext

load or unload the specified kernel extension. Use with -t to get debug
informations. (same as rmmod insmod modprobe on linux)

kexstat

shows what kernel extenstions are currently loaded (same as lsmod in linux)

This entry was posted in Mac OS X. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.