Kernel Module Utilities
The following list describes utilities for manipulating kernel modules. For more information, see the kernel extension tutorials available at http://www.opensource.apple.com/projects/documentation/howto. These utilities must be run by root or by someone with superuser privileges.
- kextload
Loads an extension bundle.
- kextunload
Unloads an extension bundle.
- kextstat
Displays the status of currently loaded kernel extensions. Table 8-5 describes this utility’s output.
|
Item number |
Column |
Description |
|
1 |
Index |
Index number of the loaded extension. Extensions are loaded in sequence; gaps in this sequence signify extensions that have been unloaded. |
|
2 |
Refs |
Number of references to this extension from other extensions. |
|
3 |
Address |
Kernel space address of the extension. |
|
4 |
Size |
Amount of kernel memory (in bytes) used by the extension. |
|
5 |
Wired |
Amount of wired kernel memory (in bytes) used by the extension. |
|
6 |
Name (Version) |
Name and version of the extension. |
|
7 |
<Linked Against> |
Index of kernel extensions to which this extension refers. |
Figure 8-5 shows sample output.
![]() |
