English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux 'rmmod' command (full English spelling: remove module) is used to delete modules.
Executing the 'rmmod' command can delete unnecessary modules. The core of the Linux operating system has the characteristic of modularity, therefore, when compiling the core, it is necessary to include all the functions in the core. You can compile these functions into individual modules and load them separately when needed.
rmmod [-as][Module Name...]
Parameters:
Display Installed Modules
# lsmod Module Size Used by cramfs 39042 1 nfsd 238935 11 lockd 64849 1 nfsd nfs_acl 2245 1 nfsd auth_rpcgss 33735 1 nfsd sunrpc 193181 10 nfsd,lockd,nfs_acl,auth_rpcgss exportfs 3437 1 nfsd xt_TCPMSS 2931 0 xt_tcpmss 1197 0 xt_tcpudp 2011 0 iptables_mangle 2771 0 ip_tables 9991 1 iptables_mangle x_tables 14299 4 ……Omitted Part of the Result pppoe 8943 0 pppox 2074 1 pppoe binfmt_misc 6587 1 snd_ens1371 18814 0 gameport 9089 1 snd_ens1371 snd_ac97_codec 100646 1 snd_ens1371 ac97_bus 1002 1 snd_ac97_codec snd_pcm_oss 35308 0
Uninstall module
# rmmod -v pppoe //Uninstall module ppoe Checking ppoe for persistent data
Install Modules
# insmod -v pppoe >1.log //Install Modules ~# tail -b 30 1.log //Display File Information