Linux basics: Kernel compilation-kernel management overview

Source: Internet
Author: User
Basic Linux knowledge: Kernel compilation-kernel management overview-general Linux technology-Linux programming and kernel information. For details, see the following. 1. What is the kernel;

Kernel foreign uses kernel. I just flipped through the dictionary. The Chinese meaning of kernel is kernel, core, center, and essence. It is also the meaning of nuts and fruits. Literally speaking, kernel is the center of a thing, and the fruit of a plant is also the kernel and kernel. From this we can infer that the kernel is the center of the operating system.

We know that Linus Torvalds has developed Linux. In fact, it is developed by Linux. According to the official kernel homepage, this kernel is Linux. Other extensions and applications are developed around the kernel. All Linux applications will have direct or indirect contact with the kernel. For example, hardware requires Kernel support and network communication requires Kernel support. file systems require Kernel support more ......

Bluntly, my capabilities are not good. If you want to understand and learn about the operating system, the tutorials I wrote are only basic applications. The theoretical things are not clear in a single word, it is not clear to the application.

   Ii. Why should we compile and manage the kernel?

Hardware requires Kernel support. Some hardware support is not compiled into the kernel, which also requires us to re-compile the kernel. The kernel includes not only the driver of the device, but also other content, for example, support for network protocols and firewall ...... for example, the implementation of iptables requires Kernel support for some functions. If the kernel content related to iptables is not compiled, iptables-related functions cannot be implemented;

   Iii. commands for managing the kernel module

1. Kernel Modules mounted in the lsmod column;

Lsmod lists the names and sizes of loaded modules in the current system. You can also view/proc/modules. We can also know the loaded modules of the system;

Code:
CODE: [root @ localhost beinan] # lsmod
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.