Recently, Novell has signed a contract with Huawei Technology Co., Ltd., one of the mainstream vendors in the international telecommunications industry. The two parties will establish a Linux Joint Laboratory in China. Following the signing of
In Linux, you can often see some file extensions :. so or. A or. LA, of course, in Linux, the file type does not depend on its suffix, but generally speaking:
. So is the shared library
. A is a static library
. LA is a shared library
(I) Network Interface① Naming rulesThe Linux kernel specifies a different prefix for the interface name based on the interface type. After the prefix, a number is assigned to each interface from scratch.For example:All Ethernet interfaces start with
The tasklet mechanism is a special Soft Interrupt. Tasklet refers to a small piece of executable code, which usually appears in the form of functions. The Soft Interrupt vectors hi_softirq and tasklet_softirq are both implemented using the tasklet
/* Net_select.c */
# Include # Include # Include # Include # Include # Include # Include # Include # Include # Include
# Define Port 4321# Define max_que_conn_nm 5# Define max_sock_fd fd_setsize# Define buffer_size 1024
Typedef struct user{Struct
When multi-thread mutex synchronization is solved, the following problems often occur:
1. How many mutex and semaphore are required in a given question? What is the rule?2. What are the requirements and rules for locking and waiting for semaphores
Vmware-mount is a tool of VMware, which is available in both Windows and Linux.
Windows can be downloaded directly from the VMware website.
Linux can be obtained through two aspects:
1. Install the vmware-workstation client for Linux. After the
The timer set by the function alarm can only be accurate to seconds, while the following functions can theoretically be accurate to the subtle:
# Include
# Include
Int getitimer (INT which, struct itimerval * value );
Int setitimer (INT which,
Document directory
1. wget
2. SCP (mutual copy between servers)
3. PS aux
4. CP: Copy directory
5. MV: Change the directory or file name
6. Find: Find a file containing a keyword in a directory.
7. RM: delete a directory
8. Tail: view the
Document directory
Password program using the termios Structure
The termios structure is a standard interface defined in the POSIX specification. It is similar to the termio interface in system v. It sets the value in the termios data structure
References:LinuxKernel design and implementationHttp://www.ibm.com/developerworks/cn/linux/l-cn-vfs/Http://www.ibm.com/developerworks/cn/linux/l-linux-filesystem/Http://www.ibm.com/developerworks/cn/linux/l-cn-read/index.html
1. Important
1. Install./ConfigureMakeMake install
2. Introduction to SAR commandsSar-HUsage: SAR [Options] [ []Main options and reports:-B I/O and transmission rate information-B paging status-D Block device status-I { | sum | all | xall}Interruption
Linux kernel source code learning (5) swap in/out of Memory Page
--- Flyli
The main purpose of physical Page Swap-in and swap-out is to swap infrequently used memory pages to the hard disk when the physical memory is insufficient to ensure normal
Jsoncpp is a c ++-encapsulated json package that supports multiple systems, such as windows, linux, and unix, and macOS is also said to support.It is relatively simple to use in windows. Simply add a project to vc. Scons must be used for compiling
The I2C architecture consists of three components:
(1) I2C Core
(2) I2C bus driver
(3) I2C Device Driver
I2C core: Provides the registration and cancellation methods for I2C bus drivers and device drivers, the upper layer of the I2C communication
GPIO control of AM335X in linux
Author: chenzhufly QQ: 36886052 (reprinted please indicate the source)Along the way, I am familiar with the hardware system, set up the software development environment, compile the Linux system, and so on. Now I
APP:
//author:DriverMonkey//phone:13410905075//mail:bookworepeng@Hotmail.com//qq:196568501#include#include#include#include#include#include#define US (1000)#define PPM_CHANEL 8#define FIX_LOW_TIME 100*US#define FIX_SYNC_TIME 5000static long long ppm_
1. steps:
Modify the $ catalina_home/bin/Catalina. Sh file ($ catalina_home refers to the tomcat installation directory). Add the following content to the 40 lines of the original file:
Catalina_opts = "-djava. AWT. Headless = true"
Save the disk
How to execute commands at startup
How to execute a command or run a program at startup, and try several times, each failed, so you can do it by referring to some materials.Someone suggested to execute the corresponding command in. login, or in.
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