Linux modinfo Command
The Linux modinfo command is used to display information about kernel modules.
modinfo displays the object file of the kernel module to show related information about the module.
Syntax
modinfo [-adhpV][模块文件]
Options:
- -a or --author Displays the module author.
- -d or --description Displays the description of the module.
- -h or --help Displays information on how to use modinfo options.
- -p or --parameters Displays the parameters supported by the module.
- -V or --version Displays version information.
Examples
Displays information about the sg module.
# modinfo sg filename: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/sg.ko author: Douglas Gilbert description: SCSI generic (sg) driver license: GPL version: 3.5.31 B0B0CB1BB59F0669A1F0D6B parm: def_reserved_size:size of buffer reserved for each fd parm: allow_dio:allow direct I/O (default: 0 (disallow)) alias: char-major-21-* vermagic: 2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: scsi_modOther Extensions
Linux Command Encyclopedia