Use the modinfo command of linux to display the information of the kernel module
Don't know how to use linux modinfo command to display kernel module information? In fact, it is not difficult to solve this problem. Let Xiaobian take you to learn how to solve it together. I hope you will gain a lot after reading this article.
The modinfo command displays information about kernel modules.
Syntax format: modinfo [parameter] [module file]
Common parameters:
-a Display module developer-d Display module description-p Display module supported parameters
Reference Example
Display information for SG module:
[root@linuxcool ~]# modinfo sg
Show developer information for SG module:
[root@linuxcool ~]# modinfo -a sg
Display SG module description:
[root@linuxcool ~]# modinfo -d sg
Display SG module version information:
[root@linuxcool ~]# modinfo -V sg
Show parameters supported by SG module:
[root@linuxcool ~]# modinfo -p sg Thank you for reading this article carefully. I hope that Xiaobian will share the information content of the kernel module displayed by the Linux modinfo command. At the same time, I hope that everyone will support it. Pay attention to the industry information channel. If you encounter problems, find them. Detailed solutions are waiting for you to learn!