Lsmod
lsmod adalah sebuah perintah dalam sistem operasi Linux. Perintah ini akan menampilkan modul kernel mana yang sedang dimuat.
Berikut adalah contoh hasil dari perintah 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" berarti nama modul. "Size" berarti ukuran modul (bukan memori yang digunakan) dalam bentuk bita.[1] "Used by" menunjukkan berapa kali modul yang sedang digunakan oleh program-program yang berjalan. Di sebelah kanan jumlah penggunaan, terdapat daftar modul lain yang merujuk pada modul utama. Daftar "Used by" kadang-kadang tidak lengkap.[2] Jika modul mengontrol unloading-nya sendiri melalui rutin can_unload, maka jumlah penggunaan yang ditampilkan oleh lsmod akan selalu -1, terlepas dari jumlah penggunaan sebenarnya.
Lihat pula
Referensi
- ^ "Kernel Module Utilities". CentOS. Diarsipkan dari asli tanggal 11 September 2016. Diakses tanggal 31 Januari 2013.
- ^ user502515. "Re: How to get complete dependency list of kernel modules at runtime". Stack Overflow. Diakses tanggal 11 Oktober 2012. Pemeliharaan CS1: Nama numerik: authors list (link)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.