# Include
Int BIND (INT socket, const struct sockaddr * ADDR, socklen_t Len );
Int getsockname (INT sockfd, struct sockaddr * restrict ADDR, socklen_t * restrict alenp );
Find the address bound to a socket
If the socket is already connected
What is UNIX? Unix (this name originated from the previous multiline information and computing service -- multiplexed information and computing service, multics -- Operating System) was invented by at&t Bell Labs in 1969, it is a robust, flexible,
Machines: Server A and backup server BOperating System: RedHatBackup policy: rsync + crontab, regular synchronization. The advantage is Incremental backup, which includes information such as file permissions and dates to facilitate fast recovery and
"Mr. Wang, Mr. Wang, today is the last section of this chapter. We have talked about all the knowledge points in front. Today, we will mainly show you a practical example of using the front-end things-the second-character device driver.Program"
In this time, I will talk about things related to time. We are familiar with this, and I am just like the theme.
First, we need to understand two concepts: system timer and dynamic timer. Periodic events are all driven by a system timer. The
Linux Kernel block Device
I/O Subsystem
Linux IoSchedulingProgramIs a block DeviceI/OThe main component of the subsystem, which is between the general block layer and the block Device Driver, such. WhenLinuxWhen the kernel component needs to read
If you have a good memory, remember that the most I mentioned in the Linux Device Driver instance post is the character device driver.ProgramSo today's block I/O layer is a device that corresponds to the character device driver. The most fundamental
Overall environment after installation:
HOST: win7 64x
Host VM version: VM 7.0.0 build-20373
VM7-Linux OS: Oracle Enterprise Linux 5.7
VM7-Linux OS-tools: vm7.0-Tools
Linux VM version: VM 8.0.1.528992
VM8-Windos OS: Windows Server 2003
1. Linux device drivers are part of the kernel. A Linux kernel module can be compiled and loaded in two ways:
(1) directly compile the program into the Linux kernel and load it along with the Linux Startup;
(2) compile it into a module that can be
Tar commandTar [-cxtzjvfppn] file and directoryParameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the files in the tarfile!Note that C/X/T can only exist under the
This part should be the most important and hard to understand!First, you must understand thatSource codeThe kernel is started from head. S (ARC/i386/boot/head. s) Until main. C (init/main. c) start_kernel () in, this is a rough journey!Don't be
I think many of my friends are using securecrt as the client software for SSH, but they seldom use its RSA/DSA encryption function. Why don't you know what RSA is?Ssh, especially OpenSSH, is a client similar to telnet or rsh. Program It can also be
---------------------------------------------------
Quick Start:
PS aux | grep programname 'view process ID (PID)
GDB programname
Attach PID
B A. cpp: 120 'sets the breakpoint
C' letProgramContinue running
(GDB) Shell 'Switch to the
Linux uses a combination of letters and numbers to identify hard disk partitions. The details are as follows:Device Type of the first two letter partitionsHD: IDE Hard DriveSD: SCSI hard disk
The device on which the third letter is partitionedHda:
1. Import other file content
: The R file name imports the file content at the cursor position.
2. Use the Linux Command without exiting vi
:! Command example :! Ls-L/test press enter and return to VI
Note: You can import the
Knowledge about Linux (Overview)
Introduction: In xmeeting, about the USB handle, using the dynamic library call method, the following is an article translated by David A. Wheeler.Article. This article discusses how to create and use static
How to install ubantu9.10alpha6 in VMware (Virtual Machine Linux)-Xixi
I recently joined the TNT team. Our TNT team will start from scratch in the last year to start Linux development. The plan has been almost settled. We will be here with
Adjust Linux (ubuntu8.0.4) kernel parameters to meet high-concurrency access and solve a large number of time_wait and SYN Attacks:
1 sudo VI/etc/sysctl. conf
Edit and add at the bottom:
Net. ipv4.tcp _ fin_timeout = 30
Net. ipv4.tcp _
In the development of a Linux-based embedded simulation platform, the appearance and customization of terminals are an important issue. The string and monotonous penguin icons that scroll on the screen at startup make embedded devices unable to
Source insight3.0: Linux source code reading
From http://hi.baidu.com/freeness/blog/item/8f508644f0afac4d510ffed8.html
As an open-source operating system, the source code library attached to Linux gives fans the opportunity to study and study
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