Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kextstat(8) [osx man page]

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

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

Check Out this Related Man Page

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

mkextunpack -- extract or list the contents of a multikext (mkext) archive SYNOPSIS
mkextunpack [-v] [-a arch] [-d output_directory] mkext_file DESCRIPTION
The mkextunpack program lists the contents of a multikext file, mkext_file, or unarchives the contents into output_directory (which must exist). The -v option causes mkextunpack to print the name if each kext as it finds them. DIAGNOSTICS
mkextunpack exits with a zero status upon success. Upon failure, it prints an error message and exits with a nonzero status. With a nonsegreated format 1 mkext file, wherein each kext may contain a universal binary, mkextunpack simply unpacks the contents. With an mkext file segregated by architecture (that is, with distinct internal archives of architecture-specific kexts), mkextunpack attempts by default to unpack or list kexts for the current machine's architecture. To choose a particular architecture to extract or list, use the -a option. There is no simple way to unpack a segregated mkext file into a set of kexts with universal binaries, but you can unpack each of its compo- nent architectures to separate directories for examination. SEE ALSO
kextcache(8) BUGS
Many single-letter options are inconsistent in meaning with (or directly contradictory to) the same letter options in other kext tools. For version 1 mkext files, note that the file format doesn't record the original filenames of the kexts, so mkextunpack has to guess at what they are. It does this by using the value of the CFBundleExecutable property of the kext's info dictionary (Project Builder sets this to the base name of the kext bundle by default, but the developer can change it). If that property doesn't exist, the last component of the CFBundleIdentifier is used. Duplicates have an incrementing index appended to the name. Kexts that have no CFBundleExecutable or CFBundleI- dentifier property are named ``NameUnknown-n.kext'', where n is a number. Darwin March 6, 2009 Darwin
Man Page