-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 25 August 2004 04:04 pm, Swapnil Nagle wrote:
> Hi all,
>
> Is there any way to know which processes are using a specific kernel
> module ?

Theres no straight forward way of doing this. 

Use other info. about the process under consideration - if it is using the 
network, obviously network modules will be used. Or if you are having, say 
ext3 fs, naturally ext3 modules will be used if the process accesses the 
filesystem in some way. So other info. might help you a lot finding out what 
the process is using. This could be simplified by strace-ing the program. 
But, mind you, _most_ of the times the system calls act as mere wrappers - 
the actual module in use might, and mostly, abstracted. BUt this should give 
you a direction of search. 

Also you can enable all the DEBUG lines in the .config while compiling the 
kernel to give you info. of what is going on in the kernel. But this could be 
very verbose at times. 

It would be helpful if you post the specific problem you are trying to address 
with this.

AG
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLWvBaflNld3r6hERAuYRAKDgdVmx4kDru/xHe3AxqXFCsjnhewCghB+Y
4lqIPXCbALmssUeXxkwbjBw=
=QomH
-----END PGP SIGNATURE-----
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to