Manpages

NAME

modinfo − display information about loaded kernel modules

SYNOPSIS

/usr/sbin/modinfo [-c] [-w] [-module-id]

DESCRIPTION

The modinfo utility 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 hexadecimal, Size is the size of text, data, and bss in hexadecimal bytes, Info is module specific information, 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

The following options are supported:

-c

Displays the number of instances of the module loaded and the module’s current state.

-i module-id

Displays information about this module only.

-w

Does not truncate module information at 80 characters.

EXAMPLES

Example 1: Using the modinfo command.

The following example displays the status of module 3:

example% modinfo -i 3

Id  Loadaddr  Size  Info  Rev  Module Name
3   f5a7a000  3bc0  1     1    specfs (filesystem for specfs)

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

Image /var/www/mancx/application/src/../www/___/img/man1/man1/modinfo1.png

SEE ALSO

modload(1M), modunload(1M), attributes(5)

COMMENTS