lsmod(8)
Display the status of modules in the Linux kernel.
UbuntuDebianFedoraArch
Synopsis
lsmodDescription
lsmod shows which loadable kernel modules are currently loaded. It reads from /proc/modules and displays each module's name, memory size in kilobytes, number of instances loaded, and any dependent modules.
This command is useful for troubleshooting hardware issues, checking driver status, and understanding what kernel extensions are active on your system.
Examples
List all currently loaded kernel modules with their sizes and usage counts.
lsmodCheck if NVIDIA graphics drivers are loaded.
lsmod | grep nvidiaShow the first 20 loaded modules.
lsmod | head -20Display all USB and HID-related modules currently in use.
lsmod | grep -E '^(usb|hid)'Count the total number of loaded modules.
lsmod | wc -lShow the 10 largest kernel modules by memory usage.
lsmod | sort -k2 -rn | head -10