Who is using module linux




















Improve this answer. Community Bot 1. Adam Prax Adam Prax 1, 6 6 silver badges 8 8 bronze badges. Leo Fang Leo Fang 1 1 silver badge 4 4 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.

The Overflow Blog. When entering the name of a kernel module as an argument to one of the module-init-tools utilities, do not append a. Kernel module names do not have extensions: their corresponding files do. Here are descriptions of a few of the fields in modinfo output:. Ask Question. Asked 12 years, 10 months ago. Active 1 year, 1 month ago. Viewed 61k times. Well, it is programming related, since I'm asking because I'm writing a kernel module.

The question is pretty clear to me, Norman: how can he find out what's keeping rmmod from removing his experimental module? Add a comment. Active Oldest Votes. Community Bot 1 1 1 silver badge. The "I'm really really tired" link is broken — Hi-Angel. Norman Ramsey Norman Ramsey k 57 57 gold badges silver badges bronze badges. You might try lsof or fuser. How exactly can I use lsof for that? This only works in the situation where lsmod also displays something in the "used by" column; rmmod doesn't have any more logic than lsmod does in terms of displaying dependencies.

Locane Locane 2, 2 2 gold badges 21 21 silver badges 30 30 bronze badges. Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.

Click here for more info. Find what process is using a module. Hello everyone, I'm trying to find what process is using a module I want to remove. This is not because I cannot force it to be removed rmmod -f can do this, or, like I did, you can blacklist it from being loaded at startup This is only because I'd like to know if there's a way to get the name or the PID of the process.

NOTE: A similar question has been asked three times in this forum, no useful answer has been given yet So I started to think than the kernel didn't give this possibility. Is there really no way to find that PID?? XD Thank you Matt. What module is it?



0コメント

  • 1000 / 1000