With the upgrade of hardware devices, in order to support these hardware, the update speed of the Linux system kernel is getting faster and faster, and it also causes the bloat of the Linux kernel. Installing the built-in module can effectively solve this problem. So how do you view the information about the built-in modules installed on your Linux system?
The latest Linux distribution kernels only have a relatively small "built-in modules", and the rest of the specific hardware drivers or custom functions as "loadable modules" Let you choose to load or unload.
Built-in modules are statically compiled into the kernel. Unlike loadable kernel modules, you can dynamically load, unload, and query modules using commands such as modprobe, insmod, rmmod, modinfo, or lsmod. The built-in modules are always loaded into the kernel at startup and are not managed by these commands.
First, find out the list of built-in modules
To get a list of built-in modules, run the following command.
$ cat /lib /modules /$ (uname -r) /modules.builtin
You can also use the following command to see what built-in modules:
< Br>
Second, find the built-in module parameters
Each kernel module has a series of parameters whether it is built-in or loadable. For loadable modules, the modinfo command can display their parameter information. However, this command is not useful for built-in modules. You will get the following error.
modinfo: ERROR: Module XXXXXX not found.
If you want to see the parameters of the built-in modules and their values, you can check their contents under /sys/module.
In the /sys/module directory, you can find subdirectories named by kernel modules (both built-in and loadable). Go to each module directory, there is a directory of "parameters", which lists all the parameters of this module.
For example, you need to find the parameters of the tcp_cubic (the default TCP implementation of the kernel) module. You can do this:
$ ls /sys/module/tcp_cubic/parameters
Then read this file to see the value of each parameter.
$ cat /sys /module /tcp_cubic /parameters /tcp_friendliness
Linux is more information see the method of the built-in modules, so that we can know what Linux installed built-in module It is also possible to delete unused modules and reduce the burden on the system.
Under Linux system, some txt files are relatively large, and it is very inconvenien
Those who have used the Linux operating system know that the file transfer between Linux system and
In Linux system, if you want Vim editor to play a bigger role, you need to install some plug-ins for
When Linux users are using it, they must make their computer performance better and
Linux steps to monitor database systems with Zabbix
How to use cgroups to manage CPU resources under Linux
Linux using xshell and xftp methods
Linux how to install and configure rz/sz command
How to use Linux to use grep command to search for text files
How to modify the Linux desktop resolution
What can I do if Sublime Text cannot be imported into Chinese in Linux?
How to solve the problem of multi-line display of wget download progress bar in CentOS
How to solve Linux Chinese garbled?
What should I do if my WinXP printer cannot print on both sides?
Win7 system can not open DMP file graphic tutorial
How Windows Server 2003 disables the server from ping
After upgrading Win10, the application store, the application can not open or flashback solution
Google search new challenge: WP users
Control panel sub-options quick open method
Windows 8 System Easy Search Tips
Linux ifconfig command usage summary
How to uninstall the Win10 application comes with win10 tips