Application
ProgramIs a process, starting from main (), main (), the process ends, the driver is a series of kernel functions, these functions are called by the kernel when appropriate.
Development Process:
1. Familiar with device features.
2.
◆ Running status (task_running)When the process is being executed by the CPU or is ready for scheduling at any timeProgramThe process is running ). Processes can run in kernel or user mode. When system resources are available, the
System
# Uname-# View kernel/operating system/CPU Information# Head-N 1/etc/issue# View the operating system version# Cat/proc/cpuinfo# Viewing CPU Information# Hostname# Viewing computer names# Lspci-TV# List all PCI devices# Lsusb-TV# List all
DF comes from the coreutils software package and comes with it during system installation. We can use this command to view the disk usage and the location where the file system is mounted.
Example:
[Root @ localhost beinan] # DF-lH
Filesystem
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
The uptime command is used, but what does the result mean?Generally, as long as the number of active processes per CPU is not greater than 3, the
WgetIs a command line tool for download in Linux. It is suitable for downloading files in shell or batch downloading files.
A common function is to download all files under a certain directory of a Website:
Wget-r-NP-K-l-C-P http://site.net/dir/
Linux VI Tool
Method 1: Enter VI filename in the command line and open the file if it exists. If it does not exist, create a file named filename.After entering VI, press the I key, enter the content, and then press ESC, then press the colon
From: http://blog.csdn.net/walkingman321/article/details/6133171
This article analyzes the implementation of hrtimer in linux2.6.29.
In linux2.6, a new timer hrtimer is implemented. Unlike the traditional timer's time wheel algorithm, hrtimer uses
1. Implementation Scheme of Linux hrtimer
The implementation of Linux hrtimer depends on hardware (implemented through programmable timer), and the timer has its own special register, hard interrupt and frequency. For example, the corresponding
First, the source code packages such as php5.3, apache2.3, APR, curl, APR-util, and PCRE are provided. The installation process is as follows:
1. Installation preparation. Install the Toolkit first:
APR: . /configure -- prefix =/usr/local/APR make
MATLAB is a powerful scientific computing software. Its powerful matrix computing function simplifies some complex data operations.
1. Obtain the MATLAB Installation File. First, the file "maid" is obtained.
2. Before installation, the system must
After modifying the PATH value in the/etc/profile file of RedHat Enterprise 5.7 today, run source/etc/profile, then all the commands, such as su, sudo, vi, gedit, find, and source, cannot be executed, and the prompt "xxx: command not found" is
Author: crazylinux Source: CCID technical community
Lab environment: AS4 minimal installation
Tutorial objective: to set up a VSFTP Server
This time we will learn how to configure vsftp servers in Linux.
Now we start! First, install the software
All in all, a segment error occurs when you access the wrong memory segment. Generally, you do not have the permission or there is no corresponding physical memory, especially when you access the 0 address.
Generally, a segment error means that the
Method 1: # pragma pack (n)
Using the pseudo command # pragma pack (n), the compiler will align according to n Bytes;Use the pseudo command # pragma pack () to cancel the custom byte alignment.If the value of n specified in # pragma pack (n) is
Video conversion in Linux: mencoder
Make mpeg4 videos suitable for watching on smartphones and PDAs.On Linux, there is a powerful video/audio conversion software, that is, the mencoder (Mplayer's Movie Encoder) that comes with MPlayer ). Mencoder
Linux mint ranks first in distrowatch. I don't know why ustc is the only source in China. And the speed is not fast. However, linux mint is based on all ubuntu sources with ubuntu configured. However, the version is precise (12.04.
The day before
In one of the basics of Linux network programming, we talk about the connection and difference between the stream socket and the datagram socket. Let's briefly talk about UDP-based network programming.Two common functionsInt recvfrom (int sockfd,
If you are installing nginx in ubuntun, it is recommended that you uninstall the built-in version, the old version, the 0.7 version, and the uWsgi version are not supported, and you need to install patches. This is too troublesome. If it is
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