Learn the Linux Command - lsmod

Putting in some overtime
PeopleImages.com/DigitalVision/Getty Images

Name

lsmod - list loaded modules.  

Synopsis

lsmod [-hV]  

Description

lsmod shows information about all loaded modules.

The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.

If the module controls its own unloading via a can_unload routine then the user count displayed by lsmod is always -1, irrespective of the real use count.

 

Options

-h--help

Display a summary of options and immediately exit.

-V--version

Display the version of lsmod and immediately exit.