Unload kernel modules at system runtime
You can use the modprobe command to find and unload a kernel module at system runtime from the currently loaded kernel.
Before you begin
- You have root permissions on the system.
- The
kmodpackage is installed.
About this task
You must not unload the kernel modules that are active in the running system. This can lead to an unstable or non-operational system.
Procedure
Results
- Optionally, verify the relevant module is unloaded:
$ lsmod | grep <pass:quotes[MODULE_NAME]>If the module is unloaded successfully, this command does not display any output.