Process Scheduling:
A kernel subsystem that allocates resources of a limited processor time between running processes.
1. Scheduling Policy
1Process type
I/O consumable process:Most of the time is used to submit an I/O Request or wait for an
it should be /dev/hdb6 , primary partition 1 ~ 4 , which must be reserved. Therefore, your extended partition should start with hdb5 !
Ide1The1Hard Disks (Master)/Dev/hdaIde1The2Hard Disks (Slave)/Dev/HDBIde2The1Hard Disks (Master)/Dev/HDCIde2The2
I tested the installation on Ubuntu. Although I haven't started development yet, I may be able to use it right away.
Because the user environment in the future is not Ubuntu, the apt command is not used when Apache is installed.
1. Go to the
1. Time type.There are four common time types in Linux: time_t, struct timeb, struct timeval, struct timespec, clock_t, and struct TM.
(1)Time_t is a long integer. It is generally used to indicate the number of seconds since January 1, 1970.
Sometimes, when you perform directory operations, you often get in touch with commands, so you have to go through the manual or ask your dog brother online, here, I will list all the commonly used and not frequently used ones for future reference ...
6. slab layer
To facilitate frequent data distribution and recovery, the Linux Kernel provides the slab layer (the so-called slab distributor ). The slab distributor plays the role of the cache layer of the general data structure.
The slab layer
Memory Management
1. Page
The kernel uses physical pages as the basic unit of memory management. Most 32-bit architectures support 4 kb pages, while 64-bit architectures generally support 8 KB pages. The kernel uses the struct Page Structure to
0. Advanced Linux programming | LinuxAdvancedProgramming
1. GNU Emacs manual | GNU Emacs Guide
2. GTK +/gnome Application Development | GTK +/gnome Application Development (PDF)
3. Java application development on Linux
4. semaphores
Semaphores in Linux are sleep locks. If a task tries to obtain an occupied semaphore, the semaphore will push it into a waiting queue and then let it sleep. In this case, the processor can regain freedom to execute otherCode. When
I always think that Google is a magical company. Although it is not developed with appengine, it is still possible to climb the Great Wall ......
In this world where everything is walled, I am eager to go out and enjoy the pure sky! Okay, use
Work Executed in the lower half and after the push
1. Lower half
In the lower half, the task is executed, which is closely related to the interrupt processing, but the interrupt processing.ProgramFor jobs that are not executed by themselves,
I. The path to Linux is a long journey, so I will go up and down! First, go to the classic books!
1. Entry
《Linux authoritative guideThe book is good, and it is comprehensive and widely written. It is not deeply involved. It is good to be an
I. fcitx, slightly unstable and intelligent
1. Installation: to prevent scim conflicts with fcitx, if you have installed scim, you 'd better uninstall scim.
SudoApt-Get purge scimSudoApt-GetInstallFcitx-config-GTK
Kernel and operating system:
The kernel is the core part of the operating system. It includes the core process of the system operation, which determines the system performance. The operating system starts the kernel and is loaded into RAM;
The parent process calls sub-processes. commands such as date, who, PWD, ls, and other non-parameter
# Include # Include # Include String . H> # Define Maxline 20 Int Main ( Void ){ Char Buf [maxline]; /* From apue. h */ Pid_t PID;Int
View processes and sub-processes:
PS-lax: View processes and parent processes. Find the PID of the process you want to view, and then
PS -- ppid ****
---------------------
PS-Ef | grep process namePS-Aux | grep process namePS -- ppid
To obtain process information in Linux, you need to read the files in/proc/process ID/. If you want to read only one process, if you want to read many processes, in other words, it is a bit difficult to obtain information about all processes like
Struct timer_list: Specifies the Software Clock expiration time and the operations to be performed after the software clock expires. The specific members and meanings are shown in Table 3-1.Struct tvec_base: structure used to organize and manage
What is inode number?
Inode number is automatically generated when a partition is formatted as an ext2 or ext3 file system.
Inode number can determine how many files or directories are stored in this partition, because each file and directory has
In short, the linux system startup process is as follows:
1. Load BIOS hardware information and perform self-check, and obtain the first enable device based on the settings.2. read and execute the first Boot Loader (grub, spfdisk, and other
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