Tag:linux kernel cat > /etc/sysctl.conf Net.ipv4.ip_forward = 0 means to turn on the routing function, 0 is off, 1 is onnet.ipv4.conf.all.rp_filter=1 is "tell" kernel enhanced inbound filtering (ingress filtering) and outbound filtering
When the make command executes, a Makefile file is required to tell the make command what to do to compile and link the program.First, the use of conditions to judgeThe following example determines whether the $ (CC) variable is "gcc" and, if so,
There are several user-space debugging tools and techniques under Linux that are useful for analyzing user-space problems. They are:
' PRINT ' statement
Inquiries (/proc,/sys, etc.)
Tracking (Strace/ltrace)
Valgrind (Memwatch)
ReviewIn the previous article, we introduced the Linux driver debugging method, which describes the concurrency and the state of the drive programming and how to handle concurrency and contention.First, what is concurrency and normality? concurrency
Load is an important indicator of the Linux machine, which intuitively reflects the current state of the machine. If the machine load is too high, then the operation of the machine will be difficult.Linux has a high load, mainly due to CPU use,
Unlike user-space applications, the kernel cannot invoke standard C libraries or any other libraries that are not part of the kernel. The main reason is the speed and size limits.The standard C library is too big for the kernel.Many of the commonly
#!/bin/bashecho -e "Pid\t\tswap\t\tproc_name" for pid in ' ls -l /proc | grep ^d | awk ' { print $9 } ' | egrep -v [a-z]+ ' do #进程id是1为祖进程 if [ $pid -eq 1 ];then continue;fi # Do not check init process # determine if
Linux Common commands:Ls-L: Long formatFile type: the-: Normal file (f)D: Catalog fileD: Block device files (blocks)C: Character device file (character)L: Symbolic Link files (symbolic link file)P: Command sleeve file (pipe)S: Socket file
As far as possible to understand the cause and the cause of the problem do not immediately stick to the server front, you need to understand how much of this server is known, and the specifics of the failure, otherwise you are likely to be in the
If you want to know what your server is doing, you need to know some basic commands, and once you've mastered these commands, you're a professional Linux system administrator. IostatThe Iostat command is used to display detailed information about
the system call for opening the file is open (), implemented in the kernel via Sys_open (), assuming that filename is "/usr/local/hello.c", and assuming that the file already exists, the code is as follows:Asmlinkage Long Sys_open (const char *
Transferred from: http://blog.csdn.net/lufeiop02/article/details/6448497About the Linux driver (application) Program header file Use FavoritesDrivers:#include is looking for source files under Linux-2.6.29/include/linux.#include is looking for
/* Written in the previous words:Today just "Kaiyuan", chose an article about the thread pool file with you to share, hope to learn from you to help, but also hope to work with you to learn!Choose to register concurrent articles at this particular
1. Grub2 Boot window.---------------------Step 1---------------------------------Vim/etc/grub.d/40_custom----------------------Step 2-----------------------------------Press I to enter edit mode and add the following:
[Linux] performance monitoring command vmstat and linux Command vmstatI. Overview
Monitoring is usually divided into machine monitoring and service monitoring. Machine Monitoring is the basic monitoring to obtain the current running status of the
Install and configure the radius server in CentOS
1. Installation
Yum install-y freeradius-mysql freeradius-utils
2. Configuration
1) Modify clients. conf
# Vi/usr/local/etc/raddb/clients. conf
Add the following lines at the end:
Client 172.18
APUE Study Notes-record 1, APUE Study Notes-record
It has been almost a week since we started to see APUE. It is rare that we will not be disturbed by the three-day free holiday because we have just caught up with the Tomb Sweeping Day holiday in
Apache cannot start httpd: apr_sockaddr_info_get () failed xgp
Httpd: apr_sockaddr_info_get () failed for hoteelHttpd: cocould not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameI am prompted for the above
Ubuntu 14.04 64bit compilation and installation Nginx1.7 + PHP5.4 + MySQL5.6
My operating system is Ubuntu14.04, and the operating procedures for other linux systems are similar. The main installed software is Nginx1.7 + PHP5.4 + MySQL5.6.
1. create
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