English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux modinfo command

Linux Command大全

The Linux modinfo command is used to display information about kernel modules.

The modinfo command of Linux displays the object files of kernel modules to show related information about the module.

Syntax

modinfo [-adhpV][Module file]

Parameters:

  • -a or--author  Display the module developer.
  • -d or--description  Display the module's description.
  • -h or--help  Display the usage of modinfo parameters.
  • -p or--parameters  Display the parameters supported by the module.
  • -V or--version  Display version information.

Online Examples

Display 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/O (default: 0 (disallow))
alias:     char-major-21-*
vermagic:    2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends:    scsi_mod

Linux Command大全