1. Home
  2. Computing & Technology
  3. Linux
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

Explore Linux
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.