/* This retransmits one SKB. policy decisions and retransmit queue * state updates are done by the caller. returns non-zero if an * error occurred which prevented the send. */int round (struct sock * sk, struct sk_buff * skb) {struct tcp_sock * tp =
Ext2 file system the regular file system in Linux is Ext2 (Linux second extended file system), which consists of the following three parts: 1) super block: records the overall information of this file system, includes the total inode/block quantity,
1. Search for executable files
Display the complete path of an executable file
Search by alias-> $ PATH
System Environment Variables
Search for an executable tool and its related configurations and help
Slocate or locate keywords
What is a file system and a root file system? What is mounting concept? What is the relationship between the file system and the kernel? This time, we mainly use duniang and
In the basic concept of Linux (1), I simply confused what is Linux kernel.
Today, rar is not installed on a server, and the following error occurs: rar: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory is still handled by hao32. After asking about the method,
In the private house of laruence, we have introduced Linux users and user groups in detail. But when we started playing, we should prefer 777 .... Helpless, people always need to evolve. I have reorganized some information about users and user
In C, the goto statement cannot span functions, but the functions setjmp and longjmp are used to perform such a jump. These two functions are very useful for handling errors that occur in deep nested function calls.
The setjmp and longjmp functions
Each process has a set of resource restrictions, some of which can be queried and modified using the getrlimit and setrlimit functions.
#include getrlimit( resource, rlimit * setrlimit( resource, rlimit *
Process resource restrictions are
I want to change Apache2.2 to Nginx for a few days. Today I will try it. Found a stable version: 1.4.1 http://nginx.org/download/nginx-1.4.1.zip
The configuration is very simple, that is, it is troublesome to manage nginx and php-cgi
When a process terminates normally or abnormally, the kernel sends a SIGCHLD signal to its parent process. Because the sub-process termination is an asynchronous event (which can occur at any time when the parent process runs), this signal is also
When multiple processes attempt to process the shared data, and the final result depends on the order in which the process runs, we think this happensRace condition). If a logic after fork is explicitly or implicitly dependent on whether the parent
Reprinted from: http://www.cnblogs.com/88999660/articles/1581524.html
Access the vi commandVi filename: open or create a file and place the cursor at the beginning of the first lineVi + n filename: open the file and place the cursor at the beginning
If the server version is used, you can only use the command line to modify the configuration file without a graphical interface.
For the Client Version, you can use the graphical interface
The configuration requires that the NIC service be
UNIX group files (POSIX.1 called group databases) contain fields shown in Table 6-3. These fields are included in the group structure defined in .
Table 6-3/etc/group Fields
Group * getgrnam (*
Like a function that operates on a password file,
POSIX.1 defines the uname function, which returns information related to the current host and operating system.
# Include uname (utsname *-
Pass the utsname structure address to the parameter of the function, and then fill in the structure of the
Historically, the C program has been composed of the following parts:
Body section. This is the machine instruction part executed by the CPU. Generally, body segments are shareable, so even frequently executed programs (such as text editors, C
There are eight methods to terminate a process, five of which are normal termination. They are:
(1) return from main.
(2) Call exit.
(3) Call _ exit or _ Exit.
(4) The last thread returns from its startup routine.
(5) The last thread calls
MySQL installation and configuration
In fedora, mariadb is a branch of mysql directly installed using yum install mysql, which is not much different from mysql. But there is a difference. Maybe it's a branch after all. Mariadb5.6 feels like mysql 5.0
When files are frequently accessed in Linux, the physical memory will soon be used up. When the program ends, the memory will not be released normally, but will always be used as caching. It seems that many people are asking this question, but they
Assume that the user name is ali. If the user name does not have the superuser permission, when you enter the sudo + command, the system prompts :. the Code is as follows: ali is not in the sudoers file. this incident will be reported. solution 1.
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