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 Module Programming
1.1 Module Learning what
1. Know what a module is. What does it have to do with the drive I'm learning?
2. Familiar with the installation of the module, uninstall, view
3. Familiar with the basic framework of the module
4.
On the internet to find some of the LVM set up the article, combined with their work experience, some commonly used commands and parameters to summarize the record down, on the one hand, lest they forget later, on the other hand can also share to
one, Dead lock
Four conditions that produce a deadlock(1) Mutually exclusive condition: A resource can only be used by one process at a time.(2) Request and retention conditions: a process that is blocked by requesting resources, retains the
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
Learning Linux has been a while, has been disorganized. I don't know what I learned or what I did. Now take a step-by-step look at the Linux-driven learning process. From the simplest to see the beginning.
First, we write a simplest module. Edit
When you are working on Linux commands, the following words appear frequently
1
You have mail in/var/spool/mail/root
This is a hint to have the latest mail, you can use mail command to read
1 2 3 4 5 6 7
I want to view man gcc in window
I'm using the SECURECRT input command.
Man gcc > Mygcc.txt
More Mygcc.txt #查看正常, Q quitVI mygcc.txt #会出现大量的^h , I found that I first press ' CTRL ' + ' V ' will appear ^ then press ' back space ' will appear H
There was a problem today, the Tomcat restart on Linux failed, because it was a bit of a surprise to have to reboot the server and not do any extra commands.
Later ready to upgrade Tomcat, upload installation package when found that the storage
1, Linux overview
Linux is a free and open source Unix-like operating system. Strictly speaking, the term Linux only represents the operating system kernel itself, but usually uses the Linux kernel to express that meaning. Linux is often used to
Problem:
When you use Linux to send mail, sometimes you want to send HTML-formatted mail, if you find the HTML message sent, but the contents of the mailbox received or pure TXT format.
Reason:
Linux uses the Mail function to send the header
Main function
int Openport (char *dev)//Open serial port
int setport (int fd, int baud,int databits,int stopbits,int parity)//Set serial port, baud rate, data bit, stop bit, checksum
int readport (int fd,char *buf,int len,int maxwaittime)/read data,
For me, Ubuntu's Live CD is good enough, but it's too bulky. I need a small Linux Live CD. Mention live CD can not mention Knoppix, this is made by the German Klaus Knopper version, but today I want to introduce a small damn Small Linux, size is
Several tomcat instances have been deployed on a server, namely, several vertically-split Java site Services, as well as several Java Micro Services, which suddenly receive an operational-dimensional CPU exception alert.
Q: How to locate which
How to generate a dynamic link library, i.e.. So file, under Linux.
OneFirst you need a good compilation tool, compiling directly with the GCC command line is no longer a smart idea, a good environment with a compilation tool is important, I chose
L Inux Input Equipment Total class Miscellaneous, common include keys, keyboard, touch screen, mouse, rocker and so on, they are character devices themselves, and the Linux kernel will be the common abstraction of these devices, simplifying the
1 Create a new two folder one to store the installation files, one to store the extracted filesMkdir-p/export/software // store installation files mkdir-p/export/servers // store extracted files2 Place the Tomcat file in the Software folder on
Find: [PATH] [option] [action]1. Time-related,-atime,-ctime,-Mtime-mtime N: N is the number of days, a file that has been changed in the day before-mtime +N: List N days ago (excluding n days per se)-mtime-N: List within n days (including n days per
Summary of permissions: for ordinary files:r:read 可读,表示具有读取、阅读文件内容的权限w:write可写,表示具有新增、修改文件内容的权限(是否可以删除看上级目录的权限)1) 如果没有r,那么vim会提示无法编辑(可强制编辑,echo可以重定向编辑或追加)2) 如果没有r,那么执行他也会提示权限不足3) 删除文件(修改文件名等)的权限是受父目录的权限限制的,和目录本身权限无关x:execute 执行权限,For the
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