Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the modinfo command of linux to display the information of the kernel module

Shulou Source: shulou.com Published: 2022-06-02 18:07:05 09月22日 Update

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!

Tags: Modules information parameters commands support personnel articles questions learning development content at the same time examples commonly used files methods formats versions ribbons industries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei OPPO Reno MariaDB Microsoft