Lsmod command
From NetworkCommands
A command line program available on most Linux platforms; used to display a list of loaded modules.
Contents |
Usage Syntax
lsmod
Usage Examples
lsmod
Usage Notes
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
Linux Usage Notes
With most Linux or Unix commands;
- Brief help can be displayed using the option/keyword: -h or --help, for example: chmod --help
- A full command manual can be displayed using the man command followed by the command name, for example: man chmod
- Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
- Version information can be display using the option/keyword: -v or --version, for example: chmod --version
Typical Output
Module Size Used by Tainted: P subdomain 75108 1 commoncap 4824 0 [subdomain] nfs 93372 0 (unused) lockd 59568 0 [nfs] sunrpc 86588 0 [nfs lockd] smbfs 44464 0 (unused) lasthop 24832 0 (unused) vnic 24308 4 nvram 7596 0 (unused) i2c-dev 4672 2 i2c-i801 5880 2 ipv6 274208 -1 (autoclean) keybdev 2976 0 (unused) mousedev 5720 0 (unused) hid 21700 0 (unused) input 6048 0 [keybdev mousedev hid]
Related Articles
Information on other Linux commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on F5 BigIP commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







