lsmod is a Linux command and it's helpful to show the status of modules in the Linux Kernel on your system. lsmod command check and showing what kernel modules are currently loaded.
# lsmod
Module Size Used by
binfmt_misc 17468 1
nf_nat_ftp 12770 0
xt_REDIRECT 12757 0
xt_conntrack 12760 39
iptable_mangle 12695 0
nf_conntrack_ftp 18638 1 nf_nat_ftp
ipt_REJECT 12541 0
xt_LOG 17717 6
xt_limit 12711 8
iptable_filter 12810 1
xt_multiport 12798 0
iptable_nat 13011 0
nf_conntrack_ipv4 14862 40
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_nat_ipv4 13263 1 iptable_nat
nf_nat 21798 4 nf_nat_ftp,nf_nat_ipv4,xt_REDIRECT,iptable_nat
nf_conntrack 101024 7 nf_nat_ftp,nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
ip_tables 27239 3 iptable_filter,iptable_mangle,iptable_nat
coretemp 13435 0
crct10dif_pclmul 14289 0
crct10dif_common 12595 1 crct10dif_pclmul
crc32_pclmul 13113 0
crc32c_intel 22079 0
ghash_clmulni_intel 13259 0
aesni_intel 55624 0
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
xen_kbdfront 12797 0
ablk_helper 13597 1 aesni_intel
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr 12718 0
xen_netfront 26679 0
ext4 528957 1
mbcache 14958 1 ext4
jbd2 98341 1 ext4
xen_blkfront 26864 2
How to find out kernel version on Linux :
# uname -r
3.10.0-123.20.1.el7.x86_64
How to find out kernel module installed version ?
# rpm -q kernel
kernel-3.10.0-123.4.4.el7.x86_64
kernel-3.10.0-123.6.3.el7.x86_64
kernel-3.10.0-123.13.2.el7.x86_64
kernel-3.10.0-123.20.1.el7.x86_64
# cat /proc/version
Linux version 3.10.0-123.20.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Thu Jan 29 18:05:33 UTC 2015
Comments (0)