You are not logged in.

#1 2007-09-22 22:51:39

mbr
Member
Registered: 2007-09-03
Posts: 2

How to determine which processes are using a module?

I want to find out which processes are using a kernel module.
However this info is shown neither with ``lsmod'' nor in
/sys/modules/<mod_name>/.

It's needed to reload certain modules which are acting buggy,
in a bash script. Right now I just keep a list of processes which
use the module and try to kill'em all, not exactly a beautiful
solution.

To work around it I compiled a kernel with
``CONFIG_MODULE_FORCE_UNLOAD=y'', however actually
trying to unload anything with this results in an unstable system.


Suggestions?

Offline

Board footer

Powered by FluxBB