-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux lsmod Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to lsmod on Linux, covering Arch Linux, CachyOS, and other distributions including listing kernel modules, module information, and driver management.
lsmod lists loaded kernel modules.
Uses:
- List modules: Show loaded modules
- Module information: Get module details
- Driver management: Manage drivers
- Troubleshooting: Troubleshoot module issues
Why it matters:
- Driver management: See loaded drivers
- Troubleshooting: Debug module problems
- System information: Understand system modules
Basic usage:
# List all loaded modules
lsmod
# Shows module listColumns:
# Output format:
# Module Size Used by
# module_name 12345 2 other_moduleGet details:
# Get module details
modinfo module-name
# Shows module informationCheck dependencies:
# Check what uses module
lsmod | grep module-name
# Shows dependent modulesLoad module:
# Load module
sudo modprobe module-name
# Or
sudo insmod /path/to/module.koRemove module:
# Remove module
sudo modprobe -r module-name
# Or
sudo rmmod module-nameCheck module:
# Verify module exists
modinfo module-name
# Check if loaded
lsmod | grep module-nameThis guide covered lsmod usage, module listing, and driver management for Arch Linux, CachyOS, and other distributions.
- modinfo Guide - Module information
- modprobe Guide - Module management
- Kernel Management - Kernel management
-
lsmod Documentation:
man lsmod
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.