In Linux, we know thatNice, reniceCommands change the execution priority of processes, and high-priority processes give priority to execution, so as to ensure the running of important tasks to a certain extent.
In addition to Nice and renice, you
1. DaemonProgramWrite it as a daemon and fork twice.
2. System LogsCall openlog, syslog, closelogUse the syslog or rsyslog service to configure/etc/syslog. conf or/etc/rsyslog. conf.Example:Local2 .* /Var/log/APP. LogRestart syslog To take
Use wget
For example, if you want to download http://www.cplusplus.com/reference/the entire site's east and west, the command is as follows:
Wget-r-k-NP-P http://www.cplusplus.com/reference/
The following describes the parameters:-R, -- Recursive
Bin: This directory stores the most common basic commands, such as Copy command CP, edit command VI, and delete command RM.
Boot: This directory contains the configuration file, kernel (vmliuxz), and system image (initrd) required for system
6) getting started with Linux programming-Message ManagementProcess Communication (IPC) in Linux)Process Communication (IPC) in Linux)POSIX unknown semaphoresSystem V semaphoreSystem V Message QueueSystem V shared memory1. POSIX unknown semaphores
1) Introduction to Linux programming-Basic KnowledgeBasic knowledge of C language programming in LinuxPreface:This article introduces the basic knowledge required for C language programming in Linux. In this article, we willYou will learn the
Linux inter-process communication
Introduction to several main methods for inter-process communication in Linux:
A)Pipeline (PIPE) and famous Pipeline (Named Pipe): pipeline can be used for communications between kinship processes. Famous pipelines
1. Modify boot. ini with C:/grldr = "Grub"2. Install wingrub3. Install paragon Hard Disk Manager4. Select Tools> partition list in wingrub to get the drive letter, for example: (hd1, 4)5. Use paragon Hard Disk Manager to split two partitions: one as
Notes for compiling exosip2 in Linux
Prepare the package
Libosip2-3.0.1.tar.gz
LibeXosip2-3.0.1.tar.gz
Put the two packages in the same directory
Compile osip2 first
Tar zxvf libosip2-3.0.1.tar.gz
CD
I searched the internet and found a lot of commands. Most people don't care about the new usage, and 90% of the workload is a simple one or two commands. So remember that one or two commands can solve the problem of 90% of the workload.
The
Summarize the commonly used makefile templates for future use.
1. Compile the dynamic library
######################################## ###################### Makefile for shared library. # compile a dynamic link library ##############################
Installation and Use of Linux SVN
The goal of the Subversion project is to buildVersion Control SystemThat is a compelling replacement for CVS in the open source community. The software is released under an Apache/BSD-style
View CPU information (model)# Cat/proc/cpuinfo | grep name | cut-F2-D: | uniq-C8 Intel (r) Xeon (r) CPU e5410 @ 2.33 GHz(We can see eight logical CPUs and the CPU model)
# Cat/proc/cpuinfo | grep physical | uniq-C4 physical ID: 04 physical ID: 1(It
Address: http://www.jb51.net/ OS /RedHat/1114.html
1) log on to the server and execute lsb_release-a to list all version information, for example:
[Root@3.5.5Biz-46 ~] # Lsb_release-Lsbversion: 1.3Distributor ID: redhatenterpriseasDescription: Red
Address: http://blog.163.com/bobile45@126/blog/static/960619922012542475706/
1. The ps command is used to view the currently running process.
Grep is search
Example: PS-Ef | grep Java
Displays information about Java cmd processes in all
A process is an independent resource allocation unit. Different processes are independent of each other.
The inter-process communication mechanism supported by Linux:
(1) Data interaction mechanism between processes on the same host: Unknown pipe,
An error occurred while compiling the kernel. For example, the following error occurs: Maid: Invalid option 'Abi = aapcs-Linux ': Using arm-Linux-gcc-V
Yan @ Yan-LAPTOP:/etc $ arm-Linux-gcc-V
Using built-in specs.
Target:
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