Thread:A thread is an execution stream that performs a smaller granularity than a process; a thread is a control sequence that runs within the address space of the process.In the Linux thread has a separate PCB, in order to realize the switch in the
Linux kernel ———— queues
Linux kernel--queues
Defined:
struct __kfifo{
unsigned int in; The team is offset, write index
unsigned int out; Out team offset, read index
unsigned int mask;
unsigned int esize;
void *data;
}
Use:
Creates a
1. Demand Analysis
After the project on the line, due to various factors, Linux cloud services may be full of disk running, memory run full, CPU running a series of performance optimization problems, today I take everyone to see how to perform
Introduced
Through the study of various previous tutorials, also completed a variety of Java EE application development. Then you want to be able to publish your project on the public web so that other people can access it. The main thing is to
Originally thought in Ubuntu installs after OpenCV, oneself writes a simple program should be very easy, but, is in order to compile a simple display picture The program I all quickly to be broken up.
After looking at the answers to the questions on
Probably all this habit, want to explore the world of Linux people, will experience a variety of distributions, has been installed Ubuntu14.04-17.10,fedora 25-27,opensuse,deepin15, which, the personal favorite is the RH system fedora, More personal
You wrote a command-line program called NB, and you want the tab to automatically list the prompts you want after bash enters NB spaces.
Or you want to be able to list all the names of the machines you have permission to connect to by the Space
The concept of DTS, here is not much to say,
My example here is OpenWrt DTS; the CPU is 7620;
Here's Power_led's Gpio 44
First look at the right picture:
There's a structural body called Gpio2,
Gpio-base:gpio number of heads, base site
The
Today came into contact with an artifact Xshell, which is also used to remotely deploy Linux under Windows, which is convenient, but how to upload files as easily as using Securect. Through the query data Xshell not only can easily upload files, but
Method 1-Split streamUsing the Cronolog tool to slice Tomcat's catalina.out log filesCronolog a small tool for log segmentation, whose homepage is in http://cronolog.org/, we can also use it to slice Apache logs.
This method is recommended in the
Process Memory Space
A program that is running, called a process. Each process has its own, independent, undisturbed memory space. This space is divided into several segments (Segment), namely text, Data, BSS, Heap, Stack. The user process memory
I think a lot of people have not heard of the Zmodem agreement, but also do not know rz/sz such a convenient tool.
A good thing is not to be enjoyed alone. Here's a little bit of fur I know.
The following paragraph is copy from the help of
Linux 7th DayTime: 20180723Bash featuresCurly braces unfold{001..20..2}Command completionTag option completion (CENT7 support Bash-complement)Command line HistoryHistroy ~/bash_history!! Repeat the previous command!-1 repeat the previous commandCtrl+
5th Day of Linux LearningTime: 20180720Order of execution of commandsAlias internal Command Hash PASHWhen the alias and command are the same, you can add \ or ' CMD ' in front of the command to use the command itselfCancel and End command execution:
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