P
P
PlVashkevich2019-11-11 02:23:51
linux
PlVashkevich, 2019-11-11 02:23:51

Is it possible to find out the process that is using the linux kernel module?

Hello to all Linux gurus, amateurs and just passers
-by :) Is there any way to find out which processes use a particular kernel module.
For example, my kernel uses the "snd_intel8x0" module and I would like to unload it from the kernel, but I can't do it while this module is being used by some processes.
So, you can find out what these processes are, kill them and unload this module? If possible, how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radjah, 2019-11-11
@PlVashkevich

Modules are used by other modules normally.
Look at the output lsmod, all the dependencies will be listed there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question