• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lsmod: command not found

by admin

lsmod command lists all loaded modules: name, size (in 4 KB units), and, if appropriate, a list of referring modules. The same information is available in /proc/modules if the /proc directory is enabled on the system.

The output of lsmod is a series of columns identifying the module name, size, use number, and status. A sample of lsmod output looks like this:

Module                  Size  Used by    Not tainted
vfat                   12844   0  (autoclean)
fat                    38328   0  (autoclean) [vfat]
nfs                    79960   0  (autoclean)
ide-scsi               11984   0  (autoclean)
ide-cd                 35196   0  (autoclean)
cdrom                  33440   0  (autoclean) [ide-cd]
tuner                  11680   1  (autoclean)
tvaudio                14940   0  (autoclean) (unused)
bttv                   73568   0  (autoclean)
videodev                8192   2  (autoclean) [bttv]
radeon                114244  28
agpgart                46752   3
parport_pc             18756   1  (autoclean)
lp                      8868   0  (autoclean)
parport                36480   1  (autoclean) [parport_pc lp]

If you encounter below error while running the lsmod command:

lsmod: command not found

you may install the kmod package as shown below as per your choice of distribution:

Distribution Command
Debian apt-get install kmod
Ubuntu apt-get install kmod
Alpine apk add kmod
Arch Linux pacman -S kmod
Kali Linux apt-get install kmod
CentOS yum install kmod
Fedora dnf install kmod
Raspbian apt-get install kmod

Conclusion

The lsmod command displays all the information available about currently loaded modules. Reviewing your loaded modules is often the first step in identifying possible problems, such as driver conflicts (quite frequently found with USB device drivers). This information can also be found in /proc/modules. lsmod has only two options, neither of them affecting its operation.

Filed Under: Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘yppasswdd’
  2. How to uninstall julia-common package from Ubuntu
  3. nslookup: command not found
  4. “docker stats” Command Examples
  5. How to move /var on a separate disk as a separate mount point (Online)
  6. “git merge-base” Command Examples
  7. calligrasheets: Calligra’s spreadsheet application
  8. e2fsck: command not found
  9. cryptsetup: command not found
  10. po4a-gettextize: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright