English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux lsmod command

Linux Command大全

The Linux lsmod (full English name: list modules) command is used to display the modules loaded into the system.

Executing the lsmod command will list all modules loaded into the system. The Linux operating system has a modular feature, so all functions must be placed into the core when compiling the core. You can compile these functions into individual modules and load them separately as needed.

Syntax

lsmod

Online examples

Display module information

# lsmod 
Module         Size Used by
nfsd         238935 11 
lockd         64849 1 nfsd
nfs_acl         2245 1 nfsd
auth_rpcgss      33735 1 nfsd
sunrpc        193181 10 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs        3437 1 nfsd
xt_TCPMSS        2931 1 
xt_tcpmss        1197 1 
xt_tcpudp        2011 1 
iptables_mangle     2771 1 
ip_tables        9991 1 iptables_mangle
x_tables        14299 4 xt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
pppoe          8943 2 
pppox          2074 1 pppoe
binfmt_misc       6587 1 
bitblit1371      18814 0 
gameport        9089 1 bitblit1371
snd_ac97_codec    100646 1 bitblit1371
ac97_bus        1002 1 snd_ac97_codec
snd_pcm_oss      35308 0 
snd_mixer_oss     13746 1 snd_pcm_oss
snd_pcm        70662 3 bitblit1371snd_ens97_codec,snd_pcm_oss
snd_seq_dummy      1338 0 
snd_seq_oss      26726 0 
snd_seq_midi      4557 0 
snd_rawmidi      19056 2 bitblit1371,snd_seq_midi
snd_seq_midi_event   6snd_seq_device3 2 snd_seq_oss,snd_seq_midi
snd_seq        47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer       19098 2 snd_timer
snd_pcm,snd_seq     57snd_seq_device 5 00
font         35102 71 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq        2031 1 font
tileblit          7557 1 font
softcursor         4707 1 font
fbcon          5259 0 
ppdev       1189 1 softcursor
snd          54148 10 bitblit1371snd_ens97,snd_ac
_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device        63245 0 
serio_raw        3978 0 
soundcore        6620 1 snd
parport_pc       25962 1 
snd_page_alloc     7076 1 snd_pcm
vga16fb        11385 1 
intel_agp       24177 1 
vgastate        8961 1 vga16fb
i2c_piix4        8335 0 
shpchp         28820 0 
agpgart        31724 1 intel_agp
lp           7028 0 
parport        32635 3 ppdev,parport_pc,lp
mptspi         14652 2 
mptscsih        31325 1 mptspi
pcnet32        28890 0 
floppy         53016 0 
mii           4381 1 pcnet32
mptbase        83022 2 mptspi,mptscsih
scsi_transport_spi   21096 1 mptspi

Linux Command大全