Mac Developer Library Developer
Search

 

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.




KEXTSTAT(8)               BSD System Manager's Manual              KEXTSTAT(8)

NAME
     kextstat -- display status of loaded kernel extensions (kexts)

SYNOPSIS
     kextstat [-h] [-k] [-l] [-b identifier] ...

DESCRIPTION
     The kextstat utility displays the status of any kexts currently loaded in the kernel.  The following
     information is shown for each loaded kext:

     Index     The load index of the kext (used to track linkage references).  Gaps in the list indicate
               kexts that have been unloaded.

     Refs      The number of references to this kext by others.  If nonzero, the kext cannot be unloaded.

     Address   The address in kernel space where the kext has been loaded.

     Size      The number of bytes of kernel memory that the kext occupies.  If this is zero, the kext is a
               built-in part of the kernel that has a record as a kext for resolving dependencies among
               kexts.

     Wired     The number of wired bytes of kernel memory that the kext occupies.

     Name      The CFBundleIdentifier of the kext.

     (Version)
               The CFBundleVersion of the kext.

     <Linked Against>
               The index numbers of all other kexts that this kext has a reference to.

OPTIONS
     These options are available:

     -b identifier, -bundle-id identifier
               Display the status of only the kext with the given bundle identifier.  This option trumps the
               -no-kernel option; if both are given and a kernel component is specified, its information is
               shown.

     -h, -help
               Print a help message describing each option flag and exit with a success result, regardless
               of any other options on the command line.

     -k, -no-kernel
               Don't show information for built-in components of the kernel.

     -l, -list-only
               Print the list of loaded kexts only and omit the header (useful for running output through
               text-analysis tools).

DIAGNOSTICS
     The kextstat utility exits with a status of 0 on success and with a nonzero status if an error occurs.

SEE ALSO
     kextcache(8), kextd(8), kextload(8), kextunload(8), kextutil(8)

Darwin                           March 6, 2009                          Darwin

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback