[Ilugc] Re: Current Device drivers module info

  • From: mohan43u@xxxxxxxxx (Mohan R)
  • Date: Wed Jan 20 10:32:08 2010

Suresh Kumar Subramanian wrote:

Hi,

How do i know the current driver modules used in my system.
i found in some article, the running module details are located in  
/sys/class directory. but how do i collect all the module info. This is 
required for the kernel optimization.
Any scripts available?
Thanks for your help.

I think you are looking for this,

# lsmod | awk '{print $1;}' | while read MODULE; do modinfo "${MODULE}"; 
echo; done | less

Cheers,
Mohan R.

Other related posts: