PipelinePipelines are the oldest form of Unix IPC, a special file in memory that can only be used between processes that have a common ancestor (that is, parent-child processes, sibling processes).Pipelines are created by the pipe function#include
Linux View current Time timezonelinux:~ # Datelinux:~ # Date–rlinux:~ # zdump-v/usr/share/zoneinfo/asia/beijing----view time zone statusLinux Modify time zonelinux:~ # Tzselectlinux:~ # Cp/usr/share/zoneinfo/asia/beijing/etc/localtimelinux:~ #
This is a summary of the first 14 lessons of the l005-old Boys ' effectiveness education-operation and Basic command exam explaining.
Command:Basic formcommand [parameters] [path or file]Example: Ls-ld/datapwd Current directory1 [[email
Transferred from: http://blog.csdn.net/h249059945/article/details/12668793For Linux partitions, you can usually use the FDISK command tool and the parted toolFor partitioned tables there are usually MBR partition tables and GPT partition tablesFor
SSH Public Key login is more secure than password login due to easy disclosure of password password. SSH can easily use asymmetric encryption technology to contract two machines, the steps are as follows:First step local machine generated key
Absolute path: Starting from the rootRelative path: Not the path from the root (discussed relative to the current path)Ls:[Email protected] ~]# ls-ltotal 190316-rw-r--r--1 root root 0 Jul 4 1-rw-r--r--1 root root 8 June 2 1.txt-: View file details-L:
Linux Start-up processWhat happens when the operating system takes over the hardware, that is, the operating system startup process.Because in the BIOS phase, the behavior of the computer is basically written dead, the programmer can do a lot of
Some days ago, my Ubuntu old hint "Filesystem root" lack of space, so, I idiot with win PE to expand space, the result, space expansion is not, but lost the guide ....So on the Internet to check information, see How to repair the boot, and finally
Chapter One introduction to the Linux kernelFirst, the History of Unix1. The Unix system is the root cause of a strong, robust and stable operating system:(1) Simple(2) in Unix, many things are treated as files. This abstraction enables both the
Set the daily insist on writing study notes, look up the latest blog time is still in January, some ashamed. Three minutes of heat it's a mistake. More to say useless, or the recent learning of the knowledge to tidy up, for future easy to
Li Chenxi no reprint "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. User-state, kernel-state, and interrupt-handling processes1. The way we deal with system calls is through library functions2. General modern
To construct a simple Linux systemDermot W.J. Zhang + original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000Experimental content: First, gdb trace debug kernel from
Each device file supports system invoke IOCTL:
Goal: Control a device
Header files: #include
Function prototype: int result = IOCTL (int fd, int operation [, Arg ...]);
Parameters
FD: File descriptor associated with
one of the common Linux commands:FindFind,find is a traversal lookup of the entire system without specifying a lookup directoryUse format: Find [specify Find directory] [find rule] [action executed after find][Specify find directory] for
Li Chenxi no reprint "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000The third week constructs a simple Linux system menuosIntroduction of Linux Kernel source code
Three magic weapon and two swords:
Reprint please indicate source: http://blog.csdn.net/cywosp/article/details/26876231 Another more efficient method of thread-local storage in Linux is to use Keyword__thread to define variables. __thread is a built-in thread-local storage facility
Getting started with Linux disk management
Let's look at how disks are partitioned in Linux.Disk Partition:Fdisk: a common tool for operating disk partition tables in Linux:Common Format: fdisk-l lists the disk devices used
[Root @ linux ~] #
Linux learning plan and linux plan
I have been using Linux for a long time. I have used Debian and CentOS, but I have never systematically studied it. Now I have time, and I need it at work, so I want to learn it with my heart.
I. Teaching
Inter-process communication-pipelines-Linux Kernel Analysis (8)MPs queue
A pipe is a one-way communication mechanism between two processes.
Because pipelines transmit data in one direction, pipelines are also called half-duplex pipelines.
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