modinfo(1M)
NAME
modinfo − display information about loaded kernel modules
SYNOPSIS
/usr/sbin/modinfo [ −i module-id ]
DESCRIPTION
modinfo displays information about the loaded modules. The format of the information is as follows:
Id Loadaddr Size Info Rev Module Name
where Id is the module ID, Loadaddr is the starting text address in hex, size is the size of text, data, and bss in hex bytes, Info is module specific info, Rev is the revision of the loadable modules system, and Module Name is the filename and description of the module.
The module specific information is the block and character major numbers for drivers, the system call number for system calls, or, for other module types, the index into the appropriate kernel table:
fmodsw for streams modules
vfssw for filesystems
class for scheduling classes
execsw for exec modules
OPTIONS
−i module-id Display information about this module only.
EXAMPLES
The following example displays the status of module 2:
example% modinfo −i 2
| Id | Loadaddr | Size | Info | Rev | Module Name |
| 2 | ff08e000 | 1734 | − | 1 | swapgeneric |
| (root and swap configuration) |
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcsu |
SEE ALSO
modload(1M), modunload(1M), attributes(5)
SunOS 5.6 — Last change: 10 Jan 1995