1. Computing & Technology
Linux / Unix Command: lsmod
Command Library

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.
 

SEE ALSO

insmod(8), modprobe(8), depmod(8), rmmod(8), ksyms(8)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.