lsmod

command on Linux systems that shows which loadable kernel modules are currently loaded

Uses your system voice; voice and rate in settings.

Q6694735Snapshot

≈ 2 min read

Names in other languages

  • Englishlsmod
  • Españollsmod
  • Bahasa Indonesialsmod
  • nbLsmod
  • Portuguêslsmod

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

lsmod is a command on Linux systems that lists each loadable kernel module that is loaded.

Example output from lsmod:

Module Size Used by af_packet 27392 2 8139too 30592 0 snd_cs46xx 96872 3 snd_pcm_oss 55808 1 snd_mixer_oss 21760 2 snd_pcm_oss ip6table_filter 7424 1 ip6_tables 19728 1 ip6table_filter ipv6 290404 22 xfs 568384 4 sis900 18052 5 libata 169920 1 pata_sis scsi_mod 158316 3 usb_storage,sd_mod,libata usbcore 155312 6 ohci_hcd, usb_storage, usbhid

The Module column contains the name of a module. The Size column indicates the size in bytes of a module (not memory used).[1] The Used by column indicates how many times the module is in use by running programs. To the right of that is a list of other modules which refer to this one, but this list is sometimes incomplete.[2] If the module controls its own unloading via a can_unload routine then the used-by count shows as -1, irrespective of the actual count.

See also

edit edit source

References

edit edit source
  1. ^ "Kernel Module Utilities". Archived from the original on 11 September 2016. Retrieved 31 Jan 2013. Wikipedia revision 1353623817, retrieved 2026-11-18
  2. ^ user502515. "Re: How to get complete dependency list of kernel modules at runtime". Stack Overflow. Retrieved 3 November 2024. Wikipedia revision 1353623817, retrieved 2026-11-18

Text derived from https://en.wikipedia.org/w/index.php?oldid=1353623817 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot lsmod-757766-c89eed70aa11c388 · hash c89eed70aa11c388c6d7fe32a9e2c6eaa2af80164a0678b01fcf1c7129935fed · captured 2026-05-11 · not yet sealed in the ledger · verify the chain · version history

Cite this page as: encyclopegia.org, “lsmod”, snapshot lsmod-757766-c89eed70aa11c388. https://encyclopegia.org/a/lsmod