- online man pages   

SunOS man pages : modinfo (1)

Maintenance Commands                                  modinfo(1M)


modinfo - display information about loaded kernel modules


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


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 informa- tion, 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


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.


Example 1: Using the modinfo command. The following example displays the status of module 3: SunOS 5.8 Last change: 14 Jan 1999 1 Maintenance Commands modinfo(1M) example% modinfo -i 3 Id Loadaddr Size Info Rev Module Name 3 f5a7a000 3bc0 1 1 spedfs (filesystem for specfs)


See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|


modload(1M), modunload(1M), attributes(5) SunOS 5.8 Last change: 14 Jan 1999 2