1.CodeZONE:Text Segment
The executable file code segment is loaded.
2. Data zone:
Data Segment
The location can be located after the code segment or separated.ProgramAt the beginning of the operation, I applied for a space for the data
Open a terminal, CD it to a directory, and enter "Python-M simplehttpserver" to share the content in the current directory, as shown below:
Long @ long-Ubuntu :~ $ CD videospace/long @ long-Ubuntu :~ /Videospace $ Python-M simplehttpserverserving
Dynamic linker (LD. So or ld-linux.so.x) to search for the desired dynamic library in the order below
1. The path specified by dt_rpath in the dynamic segment of the elf executable file, compileCodeYou can add the Link parameter "-wl, rpath" to GCC
1. server side:
/** Server. c ** created on: Nov 20,201 2 * Author: Gentoo */# include # include # include # include # include # include # include # include # include # include # define server_port 8999 # define buffer 1024int main
Linux asynchronous Io MechanismLinux's I/O mechanism has gone through several stages of evolution:1. synchronous blocking I/O: User processes perform I/O operations until the I/O operations are completed.2. Non-blocking I/O synchronization: the user
About Linux's spinlock
The selection of mutex means is not based on the size of the critical section, but based on the nature of the critical section and
Which part of the code is competing for the kernel execution path.
Strictly speaking, semaphore
This article is collected in a Q & A post: http://bbs.csdn.net/topics/380197703
According to the Linux (UNIX) design, all devices are files.
For example, a printer is a file, a hard disk is a file, a partition on the hard disk is a file, and a
It took me a weekend to list it. Share it. I hope you can take a few minutes to see it. This is a practical search method in Linux.
Which (find the "execution file") [root @ localhost Home] # which [-A] command -: list all commands that can be
In ANSI compatible terminals (such as xterm, rxvt, and konsole), texts can be displayed in color, not just in black and white. This article demonstrates how to use bold and colored text.
I believe that every linux user must face bash. Although it
/Boot/boot0000300
Backup Master Boot Record.
/Boot. B
This is installed as the basic Boot Sector. in the case of most modern distributions it is actually a symbolic link to one of four files/boot/boot-bmp. B,/boot/boot-menu. B,
1. Create and use static databases:(Create a static library): 1. Write the source code. This can be imagined as a service or function, which can provide services for other programs. 2. generate the target file: gcc-c xxxx. c-o XXXX. O (Note: here we
I have been busy learning programming in Linux recently. Books mainly focus on . Tools mainly use CC, GCC compiler, gdb debugger, and VIM editor, I am not familiar with the Linux environment, so I didn't use the Linux operating system. I only
1) The standard library (glibc) of malloc_check_gnu can debug dynamic memory through built-in debugging features. It is the malloc_check _ environment variable, which is not set by default, in old versions, the default value is 0, and in new
There are many different libraries in Linux,Moving them all to my OS is a very large task,There must be a plan for a task first. A more scientific method should be used to determine the shift order, as shown below:
First shift the lowest-level
Commands for viewing hardware information in Linux, such as top and free, can also be viewed in kernel files, such as/proc/cpuinfo and/proc/meminfo:
Memory usage MeasurementMeasure how much memory a process occupies. Linux provides us with a very
I want to re-compile the kernel of the new laptop system a few days ago ...... Dumb's head is that tar-xvjf Linux-*** cannot be used to decompress the package. After a close look, we found that the kernel package downloaded on the official kernel
Document directory
Number of lines of the source code
Number of Files
Number of lines
Number of Files
Number of commits
Duration of Development
Diffstat
Main-page
Deutsche version.
Linux Kernel statistics
Historical Linux
I have been calling the JDK driver for more than a week. Now I have finished it. Let's share it with you.
The last week entangled the register of a week and tried n times, regardless of the situation of porting the 3.1 and 3.7 hid drivers, so this
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