Http://xmuzyq.iteye.com/blog/783218
TheArticleThe reactor mode and proactor mode are described in detail, and different Io operations are emphasized.
Http://blog.csdn.net/shallwake/article/details/5265287
This blog post describes the five I/O
Using UTF-8 code to send mail can thoroughly solve the garbled problem. In Linux, locale can be set to a en_US.UTF-8 or zh_CN.UTF-8 so that the mail content can be automatically encoded as utf8.
However, when you use the MAIL command to send an
Because I accidentally modified the fstab error, my fedora cannot be started. After exploration, it is restored successfully. The recovery process is as follows:
1. Use Ubuntu to install the disk. If you do not have a USB flash drive, you need a
#includeint dup(int file_descriptor);int dup2(int file_descriptor_one , int file_descriptor_two);
The purpose of the DUP call is to open a new file descriptor, which is similar to the open call. The difference is that the new file descriptor created
--- View the default maximum number of file handles in Linux, Which is 1024 by default.
# Ulimit-n
1024
---- View the number of handles opened by the current process
# Lsof-N | awk '{print $2}' | sort | uniq-c | sort-Nr | more
131 24204
57 24244
57 2
Http://blog.chinaunix.net/space.php? Uid = 20508270 & Do = Blog & cuid = 1999671In/etc/hosts, set the IP address to correspond to the domain name: 192.168.0.6
Www.aabbccddee.com if you want windows to access: c: \ windows \ system32 \ drivers \ etc
The core of this series of articles is 2.6.32-220.Here we use "model" instead of "algorithm" because it is really hard to describe using algorithms (but it runs well, including performance ).Core Idea: Assign the total CPU time to each se based on
1. vmstatVmstat (Virtual MEOMORY statistics) is short for vmstat. Many Linux and UNIX instances are installed by default. It is the statistical information of kernel threads, virtual memory, disks, traps, and CPU activity. If it is insufficient, it
1. Install./ConfigureMakeMake install
2. Introduction to SAR commandsSar-HUsage: SAR [Options] [ []Main options and reports:-B I/O and transmission rate information-B paging status-D Block device status-I { | sum | all | xall}Interruption
The following are ten instances that generate random passwords:
1, Sha + date + base64, password length 32date +%s | sha256sum | base64 | head -c 32 ; echo
2. Use urandom to filter out other characters, leaving only letters and numbers, and the
Memcache uses the libevent library for socket processing, so you also need to install libevent, the latest version of libevent is the libevent-1.3. (If your system has already installed libevent, you do not need to install it)
Use the wget command
Basic Process
Server
Declare the handle FD and network address sockaddr_in
If sockaddr_in is assigned as the server port and inaddr_any, it indicates listening to any connection.
Call the socket function to create a socket and
Author: Yili Xie yili.xie@gmail.com
Date: 2010-1-13
You are welcome to reprint it. Please indicate the source
A new driver management and registration mechanism has been introduced since Linux 2.6: platform_device and platform_driver.
Most
Path for Linux Device Driver engineers-Linux memory management mechanism and MMAP Method
K-Style
Reprinted please indicate from Hengyang Normal University 08 electric 2 Y-Kee http://blog.csdn.net/ayangke,QQ:843308498
I. Key knowledge
1. Linux
After you fail to use the official installation package of QT, Linux cannot be started.
"/Dev/sda11 unexpected inconsistency, run fsck manually"
If the sda11 partition is inconsistent, run fsck manually.
Baidu Knows That fsck is a command to fix
Path to Linux driver engineers-hardware access and Hybrid device LED driver
K-Style
Reprinted please indicate from Hengyang Normal College 08 electric 2 K-Style http://blog.csdn.net/ayangke,QQ:843308498 mailbox: yangkeemail@qq.com
I. Important
Path for Linux Device Driver engineers-advanced character device drivers
K-Style
Reprinted please indicate from Hengyang Normal College 08 electric 2 K-Style http://blog.csdn.net/ayangke,QQ:843308498 mailbox: yangkeemail@qq.com
The advanced
Document directory
2. interrupt handling
Ii. driver code
PLATFORM Device
PLATFORM driver
Path for Linux Device Driver engineer-platform key driver
Y-kee
Reprinted please indicate from Hengyang Normal University 08 electric 2 Y-Kee
The system crashes once and many files are lost. Fortunately, the lost files are not very important. After learning this lesson, you must write blogs frequently. No matter how cool things are, once you have used them, and forget to use them one day,
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