fbpx
Wikipedia

lsmod

lsmod is a command on Linux systems. It shows which loadable kernel modules are currently loaded.

An example terminal print after running lsmod command:

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 

"Module" denotes the name of the module. "Size" denotes the size of the module (not memory used) in Bytes.[1] "Used by" shows that number of times the module is currently in use by running programs. Next to this is a list of other modules which refer to this one. The "Used by" list is sometimes incomplete.[2] If the module controls its own unloading via a can_unload routine then the use count displayed by lsmod is always -1, irrespective of the real use count.

See also

References

  1. ^ . Archived from the original on 11 September 2016. Retrieved 31 Jan 2013.
  2. ^ user502515. "Re: How to get complete dependency list of kernel modules at runtime". Stack Overflow. Retrieved 11 October 2012. {{cite web}}: |last= has generic name (help)


lsmod, command, linux, systems, shows, which, loadable, kernel, modules, currently, loaded, example, terminal, print, after, running, command, module, size, used, packet, 27392, 8139too, 30592, cs46xx, 96872, 55808, mixer, 21760, ip6table, filter, 7424, tables. lsmod is a command on Linux systems It shows which loadable kernel modules are currently loaded An example terminal print after running lsmod command 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 Module denotes the name of the module Size denotes the size of the module not memory used in Bytes 1 Used by shows that number of times the module is currently in use by running programs Next to this is a list of other modules which refer to this one The Used by list is sometimes incomplete 2 If the module controls its own unloading via a can unload routine then the use count displayed by lsmod is always 1 irrespective of the real use count See also EditmodprobeReferences Edit Kernel Module Utilities Archived from the original on 11 September 2016 Retrieved 31 Jan 2013 user502515 Re How to get complete dependency list of kernel modules at runtime Stack Overflow Retrieved 11 October 2012 a href Template Cite web html title Template Cite web cite web a last has generic name help This Linux related article is a stub You can help Wikipedia by expanding it vte Retrieved from https en wikipedia org w index php title Lsmod amp oldid 1057750930, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.