| MODSTAT(8) | System Manager's Manual | MODSTAT(8) |
modstat — display
status of loaded kernel modules
modstat |
[-Aaek] [-n
name | name] |
The modstat utility displays the status of
any kernel modules present in the kernel.
The options are as follows:
-Akern.module.autoload.-akern.module.autoload.-e-k-n
name-n is optional.In addition to listing the currently loaded modules' name, the
information reported by modstat includes:
CLASSSOURCEbuiltin" indicates that the module was
built into the running kernel. "boot"
indicates that the module was loaded during system bootstrap.
"filesys" indicates that the module was
loaded from the file system.SIZEFLAGaf-f (force) to be loaded.REFSADDRESS-k option is specified.REQUIRESThe modstat utility exits with a status of
0 on success and with a nonzero status if an error occurs.
A modstat utility appeared in
NetBSD 0.9. The modstat
command was designed to be similar in functionality to the corresponding
command in SunOS 4.1.3. modstat was switched to the
module framework for NetBSD 5.0.
The original NetBSD implementation was written by Terrence R. Lambert <terry@cs.weber.edu>. The switch to the module framework was by Andrew Doran <ad@NetBSD.org>.
| February 22, 2020 | NetBSD 11.0 |