What is lsmod command?

What is lsmod command

The  “lsmod" command is basically used to check installed module with the kernel.To run "lsmod" command yo require root login details.After login into server run following command.

root@admin#lsmod

It will give all modules required with kernel.For example.

root@admin#lsmod
Module                  Size  Used by
lockd                  61257  0
ipt_owner               6081  4
nls_utf8                6209  0
hfsplus                75589  0
dm_raid45              66509  0
dm_message              6977  1 dm_raid45
dm_region_hash         15681  1 dm_raid45
dm_log                 14529  3 dm_mirror,dm_raid45,dm_region_hash
dm_mod                 62201  4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache            9537  1 dm_raid45
ipt_REJECT              9537  0

 

About Anant 372 Articles
Senior technical writer