First, kill, raise, KILLPG function
int Kill (pid_t pid, int sig);
int raise (int sig);
int killpg (int pgrp, int sig);
The KILL command is implemented by calling the Kill function, which can send a specified signal to a specified process or
A Linux startup process analysis
1 Current major Linux distributions in the mainstream boot loader using the software for grub
2 in simple terms, the process of booting the system is as follows:
1. Load the BIOS hardware information and self test,
1 System-initiated process
BIOS-> mbr+boot Code-> Execute bootstrapper: GRUB-> load Kernel-> execute init-> run RunLevel
2 Start detailed
1 BIOS
The 1 BIOS refers to the basic input and output system (basic input outputs systems), typically
POSIX semaphore and mutex sample producer--Consumer issues
One, POSIX signal volume
The concept of semaphores see here (http://www.bianceng.cn/OS/Linux/201308/37243.htm). The System V Semaphore is also mentioned earlier, and now it says the POSIX
In the Linux based video surveillance acquisition system, the camera captured a frame of video image data are generally hardware automatically compressed into the JPEG format, and then saved to the camera device buffer. If you want to display the
The specific actions are as follows:
1. Prepare a U disk, do not need to be too big (of course, the capacity of the big point is no problem, the rest of the space can continue to use), the contents of the first back up;2. Use the HP USB drive
Generally speaking, we choose and use VPS to build stations or other projects, are the majority of our own use. So in the management of Web site files and modify the server configuration file, there is no need to set up a separate FTP account, a
Website move especially from the virtual space or Windows to the Linux VPS will appear file permissions issues, usually directories are 755 permissions, file is 644 permissions. One change is more troublesome, you can use the command simple and
One, modify the time zone
1. View the current time zone
Date-r
2. Modify Settings Time zone
Select target time zone with Tzselect
Tzselect
According to the prompts to select the appropriate time zone, and finally get the time zone settings,
This article will describe the mechanism of communication between processes-semaphores. Please do not confuse it with the signal previously mentioned, signal and signal volume are two different things. For more information about the signal, you can
1. Enter the JThread-1.2.1 folder2,./configure--prefix=/home/suxuandong/documents/qth264/hi3516/jrtpjthreadhisi/jthread-1.2.1/build-host= Arm-hisiv300-linux CC=ARM-HISIV300-LINUX-GCC cxx=arm-hisiv300-linux-g++3. Make4. Make install5. Enter the
1, the basic use of FIREWALLDStart: Systemctl start FirewalldView status: Systemctl status FirewalldStop: Systemctl Disable FIREWALLDDisable: Systemctl stop Firewalld2.systemctl is the main tool in CentOS7 's service management tool, which
Here's how to use Message Queuing for interprocess communication, where Message Queuing has a lot in common with named pipes. More about Named pipes can be found in my other article: Linux interprocess communication-using Named pipesfirst, what is
Linux and Cloud computing--the second phase of Linux Server SetupThe nineth Chapter:Mail e-mail server Setup-Configure SSL-based mail servers and the use of virtual domainsMail Client Configurationcan be self Select the email client to set according
The Linux character encoding defaults to UTF-8, which can be set to GBK if garbled1. Manually change the profile command:VI /etc/profileYou can also modify the/etc/sysconfig/i18n file, such aslang="en_US. UTF-8"LANG="zh_cn.gb18030 "There is another
Do you often need to telnet to a Linux server? Do you often have headaches for some long-running tasks? Still using the nohup? Then take a look at screen, it will give you a surprise!Do you often need SSH or telent telnet to a Linux server? Do you
Run the VIM exit command and run the vim exit command.
Note: These commands are preceded by a colon:
You can use either of the following methods to exit Vi and return to shell after editing the document.
In command mode, two uppercase letters are
Linux cloud computing cluster Architecture Study Notes: user management and root User Password Reset, Study Notes root
RHEL7User Management
Content of this section:
Configuration files of users and groups
Manage users and groups
RHEL7Crack the
Svn combined with rsync code Publishing System
Submitted by development to the test environment, tested, and released in a unified manner by O & M. The test requires a test server and an online (production environment) server. Svn running on the
The Linux rdev command can be used to query/set the root device of the kernel image file, RAM disk size or video mode.The rdev command without any parameters will output the/etc/mtab file line of the current root file system. Ramsize, vidmode, and
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.