Lsmod: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Ksaar (talk | contribs)
Ksaar (talk | contribs)
Line 29: Line 29:
scsi_mod              158316  3 usb_storage,sd_mod,libata
scsi_mod              158316  3 usb_storage,sd_mod,libata
usbcore              155312  6 ohci_hcd, usb_storage, usbhid
usbcore              155312  6 ohci_hcd, usb_storage, usbhid


"Module" näitab mooduli nimetust. "Size" näitab mooduli suurust (mitte mälu kasutust).[1] "Used by" denotes each module's use count and a list of referring modules. 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.
"Module" näitab mooduli nimetust. "Size" näitab mooduli suurust (mitte mälu kasutust).[1] "Used by" denotes each module's use count and a list of referring modules. 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.

Revision as of 13:09, 6 January 2015

Autor

Kaupo Saar Ak41 2014/2015

Esitatud: 06.1.2015

Tähtaeg:

Sissejuhatus

Lsmod

lsmod on käsk Linux süsteemis mis prindib /proc/modules faili sisu. lsmod näitab millised laaditavad kerneli moodulid on hetkel laaditud.

Abridged example output:

  1. 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

"Module" näitab mooduli nimetust. "Size" näitab mooduli suurust (mitte mälu kasutust).[1] "Used by" denotes each module's use count and a list of referring modules. 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.

Rmmod

Insmod

Modprobe

Käsu süntaks

Käskude kasutamine

Kokkuvõte

wall

Kasutatud kirjandus



Lisada veel rmmod insmod ja modprobe lühikeste lehteneda

lsmod leht võiks olla väga lühike.