(This chapter is based on: linux-4.4.0-37)
There are many ways to communicate between the kernel and user space, NetLink is one of them, and the others are/proc, IOCTL, sockopt, shared memory, and so on. NetLink is characterized by asynchronous Full-
I. Overview
Through the SYSFS mode control GPIO, first access to the/sys/class/gpio directory, write GPIO number to the export file, so that the GPIO operating interface from the kernel space exposure to user space, GPIO operating interface,
Any operating system written in a high-level language, the kernel source code is always a small part of the code is written in assembly language. Readers who read the Unix Sys v source know that there are about 2000 lines of code written in assembly
Recently started a new board, inside Gobinet and usbserial these are modular insmod inserted into the, although provided the source code but still do not understand what meaning, so the interest in this piece, because the company has and move far
View multi-core CPU commands mpstat-p all and sar-p all
Description: Sar-p all > Aaa.txt redirect output to file Aaa.txt
The top command is often used to monitor Linux system conditions, such as CPU, memory use, the programmer basically know the
Many platform platform provides cloud parsing function, the so-called cloud parsing is a DNS server, in general, after the domain name provider buys a domain name, will specify an NS record, for example, in the domain name provider buys the domain
1. Create a new user and set a password
> Useradd suser
> passwd suser//Enter password
2. Set up sshd configuration file
> cd/etc/ssh/
> CP sshd_config sshd_config.back//Backup
> VI sshd_config
Note If the line does not comment it will
Crond resident command for task schedulingCrond is a command that Linux uses to execute programs on a regular basis. When the operating system is installed, the task Scheduling command is started by default. The Crond order will periodically check
Use Rights: All usersUse mode: Sleep [--help] [--version] NUMBER[SMHD]Description: Sleep can be used to delay the current action for a period of timeParameter description:--HELP: Display auxiliary messages--version: Display version numberNumber:
EXEC command related in Linux:
Both exec and source are part of the Bash Internal command (builtins commands), where you enter man exec or man source to view all internal command information.The bash shell commands fall into two categories: external
the need to upgrade the OpenSSH to OPENSSH_7.1P2 as a result of third party monitoring software scanning Linux SSH vulnerabilities
System version:
[Root@db ~]# Uname-aLinux db 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 22:19:54 EST 2013 x86_64 x86_64 x86_
15 Examples of mastering the Linux command line historyWhen you use Linux command lines frequently, using history effectively can increase productivity. In fact, once you have the following 15 examples, you will find it more interesting and
Linux under the compression, decompression command a variety of, unlike in Windows next WinRAR fight all over the world without rival, exclusively. rar. zip format.For example, the commonly used tar tar.gz tar.bz2 under Linux. Z and so on. The CPU
File systems are typically implemented in a hierarchical structure: file management, directory management, and Disk Management file control blocks (BLOCK,FCB) are the only data structures that the operating system establishes for each file and
IPV6 is considered an alternative to IPv4, which is used to address the impending exhaustion of existing IPv4 address spaces.But for now, opening IPv6 may cause some problems. So sometimes we need to close IPv6.Here's how the IPv6 shutdown method
Before installing the QT Integrated Development Kit, you need to install both the build-essential and Libncurses5-dev development tools and libraries, the Libncurses5-dev library is a library of graphics functions that are widely used under
Objective: To study USB in depth and take notes here. Welcome to the discussion.
[Linux 3.2] [Driver/USB/CORE/devio. C]
Definition: usbfs_driver
struct usb_driver usbfs_driver = {.name ="usbfs",.probe =driver_probe,.disconnect
Pipelines and famous Pipelines
In this series, the author outlines several main methods for inter-process communication in Linux. Among them, pipelines and named pipelines are one of the earliest inter-process communication mechanisms. pipelines
I. Arm-Linux
ARM-Linux-2.6.17
3G usb modem: huaweie220 (WCDMA), huaweiec156 (evdo)
Arm-Linux must support at least USB host, USB storage, usb fs, and USB serial
Ii. Linux driver
Option. c
In Linux, option. c is the driver for 3G modem. You can
"The proc file system is a pseudo file system, which only exists in the memory and does not occupy the external storage space. It provides interfaces for accessing system kernel data in the form of a file system. Users and applications can obtain
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