List Loaded Kernel Modules with lsmod
lsmod formats /proc/modules into a readable table of loaded modules, their sizes, and usage counts.
01Command
$ lsmod02What it does
lsmod is essentially a pretty-printer for /proc/modules, showing Module, Size, and Used by columns — the Used by column is key for seeing module dependencies before unloading anything. Pair it with `modinfo <name>` to read a module's license, version, and description, and `lsmod | grep iwlwifi` style checks to confirm a wireless or graphics driver is actually loaded.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- modinfo(8) - Show information about a Linux Kernel moduleEvidence: modinfo extracts information (license, author, description, filename) from a Linux Kernel module given its name or filename.
- lsmod(8) - Show the status of modules in the Linux KernelEvidence: lsmod is a trivial program which nicely formats the contents of /proc/modules, showing what kernel modules are currently loaded with size and Used by references.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
lscpu prints the CPU model, socket/core/thread layout, base frequency, and supported instruction flags in a clean summary.
dmesg prints kernel messages with seconds since boot by default; -T converts them to real dates and times.