1.Dd March 13, 2014 2.Os Darwin 3.Dt KEXTSTAT 8 4.Sh NAME 5.Nm kextstat 6.Nd display status of loaded kernel extensions (kexts) 7.Sh SYNOPSIS 8.Nm kextstat 9.Op Fl a 10.Op Fl h 11.Op Fl k 12.Op Fl l 13.Op Fl b Ar identifier 14.Li \&.\|.\|. 15.Sh DESCRIPTION 16The 17.Nm 18utility displays the status of any kexts 19currently loaded in the kernel. 20The following information is shown for each loaded kext: 21.Bl -tag -width indentXX 22.It Index 23The load index of the kext (used to track linkage references). 24Gaps in the list indicate kexts that have been unloaded. 25.It Refs 26The number of references to this kext by others. 27If nonzero, the kext cannot be unloaded. 28.It Address 29The address in kernel space where the kext has been loaded. 30.It Size 31The number of bytes of kernel memory that the kext occupies. 32If this is zero, the kext is a built-in part of the kernel 33that has a record as a kext for resolving dependencies among kexts. 34.It Wired 35The number of wired bytes of kernel memory that the kext occupies. 36.It Architecture (if the -a option is used) 37The architecture of the kext. 38.It Name 39The CFBundleIdentifier of the kext. 40.It (Version) 41The CFBundleVersion of the kext. 42.It <Linked Against> 43The index numbers of all other kexts that this kext 44has a reference to. 45.El 46.Sh OPTIONS 47These options are available: 48.Bl -tag -width indentXX 49.It Fl a , Fl arch 50Print the architecture of the kext. 51.It Fl b Ar identifier , Fl bundle-id Ar identifier 52Display the status of only the kext with 53the given bundle identifier. 54This option trumps the 55.Fl no-kernel 56option; 57if both are given and a kernel component is specified, 58its information is shown. 59.It Fl h , Fl help 60Print a help message describing each option flag and exit with a success result, 61regardless of any other options on the command line. 62.It Fl k , Fl no-kernel 63Don't show information for built-in components of the kernel. 64.It Fl l , Fl list-only 65Print the list of loaded kexts only and omit the header 66(useful for running output through text-analysis tools). 67.El 68.Sh DIAGNOSTICS 69The 70.Nm 71utility exits with a status of 0 on success 72and with a nonzero status if an error occurs. 73.Sh SEE ALSO 74.Xr kextcache 8 , 75.Xr kextd 8 , 76.Xr kextload 8 , 77.Xr kextunload 8 , 78.Xr kextutil 8 79