How to describe a process: the data structure of a process descriptor;
How to create a process: how the kernel executes, and where the newly created process begins to execute;
Use GDB to track the process of creating a new process.
1. Character notationType operation permissionsU +rG -Wo =xAThe type represents an object that changes permissions, and U represents the user of the file. G represents the group of all the files, O represents a non-user group of users. A means
Download tool[Plain]View PlainCopyPrint?
1. subversion-1.6.17.tar.gz
2. subversion-deps-1.6.17.tar.gz
Two decompression of two packs:1. Prior to this, I have created a user svnroot specifically used to install the management
"Yi Silam Original works reproduced please indicate the source" Linux kernel Analysis "MOOC course http://mooc.study.163.com/course/USTC-1000029000"Description of the six-week process and the creation of a process
Process Control block Pcb--
Recently, when researching the load of Linux system, I have been exposed to some knowledge about CPU information, and share it with you. A lot of things have been learned by analyzing the parameters in the/proc/cpuinfo file.In the Linux operating
Experimental processClone the corresponding mengning/menu.git on 1.github2. Test Menuos, test fork Direct execution results3. Configure debug system, go to gdb Debug, use file Linux-3.18.6/vmlinux and target remote:1234 to configure loading initial
Linux System manual Change time can be used with the date command, you can see the detailed usage method with man dateFormat: Date mmddhhmm is "Day of the Month"Format: Date mmddhhmmyyyyFormat: Date MMDDHHMM.SSFormat: Date MMDDHHMMYYYY.SSSet the
For a connection-oriented TCP socket, in practice, it is common to check whether the peer is in the connection, the connection port in two cases:1, the connection is closed normally, call Close () shutdown () connection graceful Close, send and recv
Analyzing the process of creating a new process for the Linux kernelWriter: Yang Guangxu No.: 20135233(* Original works reproduced please specify the source *)(Learning course: Linux kernel Analysis MOOC course http://mooc.study.163.com/course/USTC-1
Chapter III Process ManagementName: Wang Wei No.: 20135116First, the process1, the meaning of the processA process is a program of execution and a generic term for related resources, and the program itself is not a process, it is actually a
A socket is a method of communicating with a system process using the file descriptor of the systems.1. The following is the structure that describes the socket address:struct SOCKADDR {sa_family_t sa_family; /* Address family, AF_XXX */If the
1. Display the current line number: Nu Displays all line numbers: Set Nu2. Ctrl a cursor to the first line CTRL e cursor to the tail line CTRL l Clear Terminal Ctrl u clear when moving forward3, log update, how to view tail-f Nginx.error.log in real
5. Use FDISK/DEV/SDA to enter menu items, m is List menu, p is list partition table, n is add partition, W is save and eject. Since there are only 5 g of disks added here, 5G is zoned as a single zone.[Email protected] ~]# fdisk-ldisk/dev/sda:16.1
1. You need to install VirtualBox enhancements in the client.2. Use VirtualBox's graphical interface to set up shared folders.3. Assuming that the name of the shared folder you set is share, use the following command to mount the shared folder on
To write a driver, first understand what type of device it is. The devices under Linux are divided into three categories: character devices, block devices, and network devices. Character device type is based on whether a character stream for the
File: View the Content typefile [file] .... Can be used with multiple filesEcho: Echoingecho [Short-option] ... [STRING] ...-N: No Line wrapping-E: Let escape character take effect(\ n New line newline)(\ t horizontal tab TAB)(\v vertical tab)(\b
Vim configuration in Ubuntu 15.04
System: Ubuntu 15.04, vim7.4, curl, git
1. Install the vim configuration of spf13. Http://vim.spf13.com/#vimrc
$ Curl https://j.mp/spf13-vim3-L> spf13-vim.sh & sh spf13-vim.sh
2. Change the color.
$ Echo "colo
Compile and install nginx in ubuntu 14.04 and nginx in 14.04
Download the source package nginx address:Http://nginx.org/en/download.htmlInstall two packages before Compilation:
Directly compiling and installation will encounter problems such as the
Tomcat source code analysis
Tomcat is composed of multiple containers, and the Container and Connecter connector are the two core modules of Tomcat. The Connecter connector receives client requests, then, it passes the request from the client to the
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