iT邦幫忙

第 12 屆 iThome 鐵人賽

0
自我挑戰組

30天菜鳥學 Linux 系列 第 45

第45篇-lsmod命令

  • 分享至 

  • xImage
  •  

進度 :
鳥哥的 Linux 私房菜 -- 第十九章、開機流程、模組管理與 Loader 的 lsmod

嘗試 lsmod 查詢顯示在核心當中的模組

test@test:~$ lsmod
Module                  Size  Used by
ufs                    81920  0
qnx4                   16384  0
hfsplus               110592  0
hfs                    61440  0
minix                  36864  0
ntfs                  106496  0
msdos                  20480  0
jfs                   188416  0
xfs                  1277952  0
cpuid                  16384  0
binfmt_misc            24576  1
aufs                  262144  0
dm_multipath           32768  0
scsi_dh_rdac           16384  0
scsi_dh_emc            16384  0
scsi_dh_alua           20480  0
intel_rapl_msr         20480  0
intel_rapl_common      24576  1 intel_rapl_msr
rapl                   20480  0
input_leds             16384  0
hv_balloon             32768  0
hyperv_fb              20480  1
joydev                 24576  0
mac_hid                16384  0
serio_raw              20480  0
sch_fq_codel           20480  2
overlay               114688  0
iptable_filter         16384  0
ip6table_filter        16384  0
ip6_tables             32768  1 ip6table_filter
br_netfilter           28672  0
bridge                176128  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
arp_tables             24576  0
drm                   491520  0
ip_tables              32768  1 iptable_filter
x_tables               40960  5 ip6table_filter,iptable_filter,ip6_tables,ip_tables,arp_tables
autofs4                45056  2
btrfs                1253376  0
zstd_compress         167936  1 btrfs
raid10                 57344  0
raid456               155648  0
async_raid6_recov      24576  1 raid456
async_memcpy           20480  2 raid456,async_raid6_recov
async_pq               24576  2 raid456,async_raid6_recov
async_xor              20480  3 async_pq,raid456,async_raid6_recov
async_tx               20480  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  3 btrfs,xfs,raid456
raid1                  45056  0
raid0                  24576  0
multipath              20480  0
linear                 20480  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
hid_generic            16384  0
hid_hyperv             16384  0
aesni_intel           372736  0
crypto_simd            16384  1 aesni_intel
hv_netvsc              73728  0
hv_utils               32768  0
hid                   131072  2 hid_hyperv,hid_generic
hyperv_keyboard        16384  0
hv_storvsc             20480  2
scsi_transport_fc      61440  1 hv_storvsc
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
psmouse               155648  0
i2c_piix4              28672  0
hv_vmbus              106496  7 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_fb
pata_acpi              16384  0
floppy                 81920  0

嘗試搭配 modinfo 查詢某個某組的明細資料

test@test:~$ modinfo floppy
filename:       /lib/modules/5.4.0-48-generic/kernel/drivers/block/floppy.ko
alias:          block-major-2-*
license:        GPL
author:         Alain L. Knaff
srcversion:     74A29049FDCC95BC5F34852
alias:          acpi*:PNP0700:*
alias:          pnp:dPNP0700*
depends:        
retpoline:      Y
intree:         Y
name:           floppy
vermagic:       5.4.0-48-generic SMP mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        69:0F:B2:8C:24:82:6C:28:AB:28:F7:D2:E5:B8:D0:0B:2C:EF:1F:87
sig_hashalgo:   sha512
signature:      6C:CB:9F:0C:8A:73:CE:A8:B8:2F:94:64:AF:EF:CD:BC:D8:53:25:C9:
		0D:4E:43:49:FC:54:3C:F7:B3:87:A9:8A:19:D6:B6:35:D2:F8:D4:42:
		70:8E:21:C4:95:7D:5B:E8:B2:3F:5E:D3:39:20:49:BC:14:B5:02:56:
		4C:52:73:EB:19:D3:40:BA:26:B5:66:E2:B2:73:AB:94:05:4E:DB:39:
		0D:8E:A1:01:18:DF:7C:7F:99:62:5E:EE:1C:1D:B9:FA:3E:AB:09:5E:
		92:7E:B5:AA:91:75:07:14:10:F6:3F:27:4B:35:AE:C1:5E:17:BD:72:
		41:8F:6F:79:41:01:12:5A:75:0B:32:C0:1A:4C:25:8F:E3:B4:10:FD:
		86:81:68:AB:6F:36:8B:B7:24:3B:34:84:93:97:64:2D:E2:12:2C:1E:
		ED:6F:99:08:E1:0D:12:4D:9B:C1:37:12:29:2D:8E:F9:13:2B:4A:E0:
		EF:EE:34:7A:52:D7:BD:0F:67:8C:9B:5A:D2:9C:34:D2:00:56:C6:A1:
		74:43:8D:19:9F:51:9C:7E:FE:B1:2A:F1:32:5D:63:14:87:CA:18:06:
		3B:86:7B:E8:B3:1C:52:AD:DC:27:4B:79:6B:97:88:68:9F:63:49:E4:
		AD:91:D5:99:20:4E:8A:5B:5C:CF:BB:42:A9:D7:B9:C9:97:57:74:7E:
		83:D8:9A:7F:B5:78:A7:33:72:75:18:3C:F4:A2:33:40:7C:5F:06:00:
		79:15:A9:BD:24:18:D3:01:3D:3A:24:AD:9F:B8:D7:73:51:9D:EC:27:
		1D:96:0B:CA:1A:76:6C:26:05:64:9D:F6:72:43:AB:46:6E:FD:CF:1C:
		67:4B:26:3D:27:73:E7:50:60:3C:9B:DE:65:EB:26:B6:23:75:89:56:
		15:C6:30:B8:B7:AF:0A:B9:5E:13:7D:DD:28:BD:60:D4:09:06:66:62:
		AE:CC:58:CB:E5:A7:DA:15:24:EA:B0:2B:C5:5B:E9:E7:3D:30:9D:98:
		CB:1C:36:71:5A:07:AE:C8:EA:B8:26:36:3D:9D:65:59:0A:83:C8:37:
		A1:5D:FA:0F:1B:71:5E:79:18:F6:71:B7:FD:BA:94:A7:43:01:E8:62:
		B6:B9:66:8E:54:46:C5:31:47:BB:26:26:E9:E6:C8:10:45:3E:86:B8:
		67:72:6C:05:F1:6D:28:63:D2:54:85:C8:A7:07:39:77:72:73:A6:DC:
		25:AC:E1:10:DC:ED:4B:93:D0:EE:A8:F7:FB:7B:20:8C:EF:B7:D6:E0:
		79:D8:24:AA:19:5F:3A:41:9C:71:A7:D3:14:E5:1D:B9:EE:EC:31:6D:
		D2:75:03:48:33:60:D6:06:2F:F9:CE:77
parm:           floppy:charp
parm:           FLOPPY_IRQ:int
parm:           FLOPPY_DMA:int


上一篇
第44篇-df命令
下一篇
第46天-fd-find 代替 find
系列文
30天菜鳥學 Linux 59
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言