Learn the Linux Command - lsmod

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


lsmod - list loaded modules.  


lsmod [-hV]  


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.




Display a summary of options and immediately exit.


Display the version of lsmod and immediately exit.

Was this page helpful?