List Loaded Kernel Modules with lsmod

lsmod formats /proc/modules into a readable table of loaded modules, their sizes, and usage counts.

LinuxhardwaremoduleskernelLow risk
Run `lsmod` to list every loaded kernel module with its size and what other modules use it; inspect details with `modinfo <module>`.

01Command

Command
$ lsmod

02What 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

RiskLow risk
Requirementskmod package; preinstalled on virtually all distributions.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-17 · Category: System & Settings

06Related solutions