Skip to content

lsmod command on Linux (kernel modules loaded)

The lsmod command in Linux is a simple utility that formats the contents of the /proc/modules file, showing the Kernel modules that are loaded in memory. It is in /proc/modules that the Kernel maintains a list of the modules that are in operation.

Here’s an example:

$ lsmod
Module Size Used by
binfmt_misc 20480 1
tun 36864 2
ext4 724992 1
ip_tables 28672 0
aes_x86_64 20480 1
cryptd 28672 3
ipv6 524288 52
autofs4 49152 2

Learn much more about Linux in our online course. You can register here. If you already have an account, or want to create one, just log in or create your user here.

Did you like it?

Share