Reproduced from: http://www.cnblogs.com/venow/archive/2012/11/30/2790031.html
Definition:
Epoll is the Linux kernel to handle a large number of handles to improve the poll, is the Linux multiplexing IO interface select/poll enhanced version, it
Set Ulimit value (number of Linux file handles) permanently in effect
Inux default number of open files Linux defaults to 1024 open files, through ulimit-a You can view open files
Modify this limit to use Ulimt-shn 65536
The following settings
Linux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into deep distress, now use the RM-RF command.Direct RM is OK, but add two parameters-rf namely: RM-RF directory Name-R is
First, SVN introductionSVN Library Address Description:
HTTPS: Protocol is a network protocol constructed by Ssl+http protocol which can encrypt transmission and authentication.
Server IP
Example: YLQZQF: Warehouse Name
Two, svn function
I have just installed a minimal virtual machine with Oracle VirtualBox, and after the installation is complete, view IP (ifconfig), see only lo, see eth0.
Next, I'll explain how to modify static IP and how to ping the physical and virtual machines.
I am accustomed to netbeans-xdebug debugging
I am in the Mac this development, everyone Linux configuration Xdebug can also refer to
My PHP is installed through the Mac homebrew, so xdebug installation I also use homebrew (similar to Linux Wget/yum)
Linux itself has two groups that receive packets from the Data link layer:
One is Fd=socket (Pf_packet,sock_raw,htons (Eth_p_all));
The other is Fd=socket (Af_inet,sock_packet,htons (Eth_p_all));
The protocol family is used more for pf_packet
The following code is the value of a parent-child process alternating print variable counter. Because after fork, the child process copies the stack of the parent process, the signal processing function, the signal screen word, and the following
linux0.11 Source Analysis 1 bootsect.s file Analysis
from Power-on power-up to the process of performing the main functionSince the linux0.11 system was stored on a floppy disk, the main purpose of the power-adding process was to load the operating
First unlock root, set password for root user
open terminal input: sudo passwd
Password:
You can then switch to root
There are two ways for Su to switch to Superuser:
1.su root: Get the user's temporary permissions, the environment
The Virtual file system layer provides most of the functions like vfs_xxx, and they end up calling the struct inode_operations and struct of the virtual file system that each specific file system is registered to File_ Some operation functions in
There are a lot of SAR command parameters and there's time for man. The-n parameter is useful, he has 6 different switches: DEV | Edev | NFS | NFSD | Sock | All. DEV Displays network interface information, Edev displays statistics about network
The previous article said that the Mmc/sd/sdio (MMC) driver from the large aspect of the main device-driven and from device-driven, that this article to detail the main device driver registration process.
MMC main device (that is, host) refers to
Linux compiler to find a solution to the file
When Linux compiles a program, if you cannot find the header file, you will be prompted with the following error:$ gcc Test.c-o testTest.c:9:16:fatal error:xxx.h:no such file or directory#include The
Linux to view system commands, shell built-in commands, system configuration file help information. Linux help document distinguishes types; 1 stabilizing the Help for the command 5 for the help document for the configuration file
One View system
Linux view ports are occupied1, Lsof-i: Port number is used to view the occupancy of a port, such as viewing 8080 ports usage, lsof-i:8080If you execute the lsof-i:8080 system prompt:-bash:lsof: Command not found, install lsof using yum install lsof
First, view the CPU
View the number of physical CPUs#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l
See how the CPU is a few cores#cat /proc/cpuinfo |grep "cores"|uniq
View the number of logical CPUs#cat /proc/cpuinfo |grep "
Grammarmkdir (option) (parameter)Options-Z: Sets the security context, which is valid when SELinux is used;-m or--mode set directory permissions while setting directory;-P or--parents If the top-level directory to be set up is not currently
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