Learn about a running module

Need to know what a loaded modules is doing? List them by issuing the “lsmod” command, and find one of interest. In this example, we want to know more about the ext3 module that is running:

# modinfo ext3
filename: /lib/modules/2.6.9-42.0.2.EL/kernel/fs/ext3/ext3.ko
author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts’o and others
description: Second Extended Filesystem with journaling extensions
license: GPL
vermagic: 2.6.9-42.0.2.EL 686 REGPARM 4KSTACKS gcc-3.4
depends: jbd

This tells you the module name (which always end in .ko in 2.6 kernels), who wrote it, a description of what it does, what its version string (vermagic) is, and any dependencies it has on other modules.