20135130 Wangkuandong1, the operating system's three major management functions include: Process management, memory management, file system.2. The Linux kernel distinguishes each process by its unique process identity PID. To manage the process, the
Now more and more friends using Linux, the development of Linux under the first is to configure the environment variables, the following to configure the Java environment variables as an example of the three ways to configure environment variables.1.
Description of the process and the creation of a process, a description of the processThe three main functions of the operating system:
Process Management
Memory management
File system
Process Descriptor TASK_STRUCT Data
Attention:shutting down the firewallTurn off SELinuxconfiguring vim/etc/resolv.conf DNS on the clientInstallationyum install-y bind bind-chroot bind-utils MasterConfigurationvim/etc/named.confOptions Itemslisten-on Port: (any ;}; allow-query{any;};
Description of the process and creation of the processI. Description of the process(i) Process Control block Pcb--task_struct1. The three major management functions of the operating system include:(1) Process management(2) Memory management(3) File
1. Historical outline: Unix---(Mars program)---> Minix-----(Contributions from Linus)----> Linux2. Linux hierarchy Directory (tree): First level:/Second level:/etc (System configuration)/bin (storing Linux common commands)/sbin (Storage of Linux
Process Control block Pcb--task_structThe three main functions of the operating system:
Process Management (CORE)
Memory management
File system
To manage the process, the kernel must have a clear description of each process,
Modular design of the Linux kernel1. Linux kernel design: Single core, modular (dynamic loading and unloading)(1) Linux: Single-core design, but fully reference the advantages of micro-kernel system design, the introduction of the kernel of the
Using GDB to track the process of creating a new processrm menu -rf git clone https://github.com/mengning/menu.git mv test_fork.c test.c 执行fork,可以看到父进程子进程都输出了信息。Using GDB for debuggingQemu-kernel linux-3.18.6/arch/x86/boot/bzimage-initrd rootfs.img
http://mnt.conf.blog.163.com/blog/static/115668258201210793915876/First, the software download1. Download JDK (Below are 32-bit system and 64-bit system version)Http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.tar.gz? Authparam=
The progress bar is the computer in the processing of tasks, real-time, in the form of pictures to show the speed of processing tasks, completion, the amount of remaining unfinished tasks, and may need to process time, usually in a rectangular bar
1.Linux Features:1. Open source2. Free3. Stability2.shell: Command line interpreter to identify and analyze commands. Shell Development Shell (interface Program) and Windows window functions the same.Shell Shell Features:1. Read and Identify
This article was selected from: HTTP://WWW.WEIXUEHAO.COM/ARCHIVES/25Detailed description of the TAR decompression command-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files
1. Under Linux, use Ls-l or ll to see the properties in front of the file or folder, where:
R:read is read permission--the number 4 means
W:write is write permission--the number 2 means
X:excute is execution permission--the number 1
1. On the GNU FTP site http://ftp.gnu.org/gnu/gsl/, download the latest gsl-2.x.tar.gz2. Unzip the downloaded gsl-2.x.tar.gz compressed package, $tar-ZXVF gsl-2.x.tar.gz. Here I downloaded the version 2.1, extracted directly in the downloads folder.3
Productivity shortcuts in the Linux console (text mode)In the Linux environment, there are some keys that have special meanings.# Ctrl-u: Erases the previous section of a row of cursors.# ctrl-h: Erases one character before the cursor.# ctrl-d:
In the local windows, wrote a shell script, using SFTP or other methods to upload the script, execute the script appears no such file or directory prompt, see the script encoding and permissions are no problem, create a new file under Linux, copy
Epol Study Notes to learn more about epoll
Epol Study Notes
LEpollRelated system calls
Epoll_create ()
Epoll_ctl ()
Epoll_wait ()
LInt epoll_create (int size );
Create an epoll handle.
LInt epoll_ctl (int epfd, int op, int fd, struct epoll_event *
MOOC linux Study Notes (1) Installation and study notes of centOS
Prepared files
Create a VM
Create an empty Virtual Machine
Select linux and centos
Allocate 20 GB hard disk space
'
Modify configurations
Adjust memory space
Differences between processes, processes, and threads
Link: http://www.orlion.ga/1015/
I. Process
Each process has a process control block (PCB) in the kernel to maintain process-related information. The process control block of the Linux kernel is
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