Chinese documents in Linux kernel code are very good!

Linux KernelCodeSeveral documents under Documentation/zh_cn are worth reading, especially for people who suffer from reading English. Thank you for your hard work!     Document Content ---------------------------- How howto participates in

In Linux, what are the advantages of using file links instead of copying a file?

What is the main advantage of creating links to a file instead of copies of the file?A: The main advantage is not really that it saves disk space (though it does that too),Rather, that a change of perpermissions on the file is applied to all the

Swap partition in Linux

As we all know, modern operating systems have implemented the "virtual memory" technology, which not only breaks through the physical memory restrictions in terms of functionality, so that programs can manipulate space larger than the actual

Install and use VNC in Linux

Installation Service: sudo apt-Get install vnc4server Install the client: sudo apt-Get install xvnc4viewer   Start the service vncserver. The first time you start the service, you will be prompted to enter a password.   Start the client:

Linux: An Example of GCC

In Linux, it is estimated that you often use the PWD command, which is to print the current working path, that is, print working directroy. Today we also use the C language to implement this command.To implement this function, you need to use the

Waitpid System Call in Linux

For the life of a process, we can make a small summary using the image metaphor: with a fork, a new process is born, but it is just a clone of the old process. Then, with exec, the new process was reborn and independent from home, and started a

Linux thread synchronization mechanism

  Mutex lock Although the IPC semaphore mechanism can also be used in POSIX thread to implement mutex functions, the semphore function is obviously too powerful, the POSIX thread defines another set of mutex functions for thread synchronization. 1.

Linux Kernel features

  Type discovery GCC allows you to identify types by referencing variables. This operation supports generic programming. Similar functions can be found in many modern programming languages, such as C ++, Ada, and Java & #8482. Linux uses typeof to

Modify the NIC name in Linux

The implementation steps are as follows:1. Change the module alias in the/etc/modprobe. conf file.For example, alias eth0 pcnet32 Change to alias LAN pcnet32 2. Change the name of the NIC configuration file to

Summary of Linux STL usage

Two days ago, we found that the memory usage of STL programs in Linux was relatively large. No Memory leakage was found through the valgrind check. The analysis may be related to STL, So we tested STL separately. The program creates 10 threads and

Linux out of memory Analysis

Linux out-of-memory (OOM) Killer  Linux has a feature: OOM killer, a protection mechanism, which is used to avoid serious problems when the memory is insufficient, and to kill unrelated processes first, that is, when the memory is seriously

Linux GDB multi-thread debugging

Linux GDB multi-thread independent debugging thread Http://coolshell.cn/articles/3643.html I. multi-thread debugging Multi-threaded debugging may be the most frequently asked. In fact, the following commands are important: Info thread to view the

Porting U-boot to an embedded Linux System Based on adsp BF533

Address: http://tech.ddvip.com/2008/07/121541159946496_2.html   1 Introduction Boot Loader is a self-lifting program that runs before the operating system kernel runs, it is used to initialize hardware devices, change the operating mode of the

How to install JDK in Linux

Install JDK in Linux as follows: Step 1: Check whether the built-in JDK of Linux is installed (1) Check the installed JDK: # Java-version Step 2: Install JDK download from sun Jdk1.6.0 _ 29-linux-i586-rpm.bin orjdk1.6.0_29-linux-i586.binCreate a

Linux memory management

A few days ago, after the program occupied more than 20 GB of memory, it unexpectedly exited. To learn about the basic concept of memory, I Will repost an article: A process (a program executed) occupies a certain amount of memory. It is used to

Remote Linux operations using xmanager

With the rapid development of the Internet and the maturity of Linux enterprise applications, Linux is widely used in the server field. How to implement remote management of Linux becomes the primary task of network administrators. We often see

Explanation of Linux per_cpu Mechanism

For the IA64 architecture, in Linux operating systems, especially for multi-CPU Systems with SMP or NUMA architectures, when describing the private data of each CPU, the Linux operating system provides the per_cpu mechanism. The per_cpu mechanism

How to Write a dynamic link library in Linux

  1. Compile the header file and source file of the library. 2. compile all involved source files as the target file in the following way:# G ++/GCC-g-C-FPIC-O library1.o library1.cpp# G ++/GCC-g-C-FPIC-O library2.o library2.cpp#......# 3. link all

Introduction to Linux tools (copying the blog of Venus)

Shell: Bash. I use Bash's VI command line method. Editor: vim, emacs Program Development: GCC, GDB, make, LD, scheme48, j2sdk, Perl, Python, Tcl/tk... Thesis, magic lamp tool: latex, Context Drawing tool: metapost. This language is so powerful that

Introduction to the Linux driver framework

Linux driver framework. I. Linux Device Drivers and external interfaces can be divided into three parts:: 1. interfaces between the driver and the operating system kernel. This is done through the file_operations (include/Linux/fs. h) data structure.

Total Pages: 5467 1 .... 3887 3888 3889 3890 3891 .... 5467 Go to: GO

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.