[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dynamically unload kernel modules?



Hi all,

I would want to check if a module is in active use by hardware and
, if not, unload it. I.e. if there is no USB device connected when I
run this script, I want to rmmod all USB related modules. I have tried
 to get that info via proc or lsmod, but neither worked.


Any hints appreciated,
Richard

Reply to: