Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

lsmod

From Wikipedia, the free encyclopedia
Linux command that lists loaded kernel modules

lsmod is a command onLinux systems that lists eachloadable kernel module that is loaded.

Example output fromlsmod:

Module                  Size  Used byaf_packet              27392  28139too                30592  0 snd_cs46xx             96872  3 snd_pcm_oss            55808  1 snd_mixer_oss          21760  2 snd_pcm_ossip6table_filter         7424  1ip6_tables             19728  1 ip6table_filteripv6                  290404  22xfs                   568384  4sis900                 18052  5libata                169920  1 pata_sisscsi_mod              158316  3 usb_storage,sd_mod,libatausbcore               155312  6ohci_hcd,usb_storage,usbhid

TheModule column contains the name of a module. TheSize column indicates the size inbytes of a module (not memory used).[1] TheUsed 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]

References

[edit]
  1. ^"Kernel Module Utilities". Archived fromthe original on 11 September 2016. Retrieved31 Jan 2013.
  2. ^user502515."Re: How to get complete dependency list of kernel modules at runtime".Stack Overflow. Retrieved3 November 2024.


Stub icon

ThisLinux-related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Lsmod&oldid=1273098496"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp