Introduction
If you don't practice fake handles, this section runs Linux with the official FPGA Development Board.
4.1, experimental preparation
1 "ORSOC Tool chain Environment (GCC,GDB,JTAG), build process to see a blog:
This article is just a kernel network protocol practice example, first explain the purpose of adding, the next chapter to start concrete implementation.
Kernel version: 2.6.34; In support of 802.1 hosts, the general format of the message:
There
Kernel version: 2.6.34
When sending a message, you can call the function setsockopt () to set the appropriate options, this article mainly analyzes the generation of IP options, send and receive the implementation of the process, selected LSRR as
After reading the routing table, back to the NETIF_RECEIVE_SKB () function, before submitting to the upper layer protocol processing, will execute the following sentence, this is the network bridge operation, is also the content to explain.
SKB =
In the NETIF_RECEIVE_SKB () function, you can see that processing is like ARP, IP these link layer above the protocol, then, the link layer header is where to remove it? The answer is in the NIC driver, before calling NETIF_RECEIVE_SKB (),
In the Linux environment, whether it is programming or other maintenance, time is essential, but also often use the operation of time, skilled use of the date command to express the time they want to express, can certainly give their work to bring
1 Basic concepts of disk
1 Track (orbital), Cylinder (cylindrical), sector (sector), head (heads)
2 representation of disks in Linux systems
1 Linux all devices are abstracted into files saved in/dev directory
2 The name of the device is
1 sort
The 1 Sort command sees the input file as a stream of data that consists of multiple records, and records are made up of variable-width fields, with newline characters as delimiters
2 basic format of the command of sort
Sort option File
3
In a Linux system, an instance of a program that is currently running is called a process. For example, when you start Apache, the system assigns it a process ID. You can then use this ID to monitor and control this program.
Process monitoring and
1, procedures and processes;
A program is a software designed to accomplish a task, such as OpenOffice. What is a process? A process is a running program.
A running program that may have multiple processes. For example, linuxsir.org used by the
Chattr-ais/bin/netstat
When you modify a file with the ' A ' attribute set, its atime record does not change.
This can avoid some disk I/O processing in the notebook system. Files with the ' A ' attribute set can only be opened for writing in Add
1. Put the first sheet of the installation disk into the optical drive, and then reboot the machine to boot the system in the BIOS using an optical drive.
2. After the installation interface comes out, press [F4] key (Fedora, select Rescue System),
Linux is a multitasking operating system that runs multiple processes at the same time, and one or more related processes being executed are called a job. With job control, users can run multiple jobs at the same time and switch between jobs when
In the recent optimization of Oracle, Oracle's SGA size was much larger than the Linux system shared memory, so that when I checked with the IPCS command, Oracle's SGA area was divided into 10 segments, which greatly affected Oracle's response speed.
Given that the data is backed up on this computer, the data cannot be removed once the machine's hard drive fails. Remote manual backup data is time-consuming, laborious, and timely. The best way to do this is by scripting Remote automated
Several file access methods available in Linux 2.6
All I/O operations are done by reading a file or writing a file. Here, we consider all peripherals, including keyboards and monitors, as files in the file system. There are a variety of ways to
Now, let's say that Hello.txt is a file already on your hard disk, and it's "Hello, World," and after the current pointer is set, we'll introduce Sys_read, Sys_write, sys_lseek How to use it together to insert data into the hell In O.txt.
They can
Process monitoring is a tool for you to find Trojan horse programs and automatically killing certain processes.
It can effectively see the unknown process.
For stubborn viruses, stop the virus before it runs without finding the root cause.
Click
1. Virtual memory technology, Windows through the exchange of files to achieve, Linux through the swap partition to achieve. So Windows has only one partition, and installs Linux at least two partitions, one of which is swap partition, virtual
The three most basic permissions for a file are read and write execution
R, read, can read files, directories can list directories of files listing 4
W, write, can modify delete file, for directory can create delete file 2
X, execute, can execute
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