Q. How do I display information about loaded kernel modules under Sun Solaris UNIX operating system?
A. You need to use modinfo command which is a trivial program to display 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.
Task: Displaying the status of kernel modules
Just enter modinfo command:
You can pass -c option to modinfo command to display the number of instances of the module loaded and the module’s current state:
Display information about particular module / driver only
You can also display information about particular module only by specifying its ID #:
modinfo -i 5
The above example displays the status of module # 5.
Read modinfo man page for other information and options.