Let's start with the question:
Prepare a file that is larger than 10M.Write two separate programs FILE_READ.C and file_write.c.File_read is responsible for opening the file, reading 128-1024 bytes (randomly generated) from the file, and putting it
Today the Linux device Driver (third edition) of the first module Hello module compiled passed, this thing card for me for a long time, during which I spent a lot of time to see the Linux Program Design (second edition), finally today the mechanical
This time I'm going to say the remaining two tools. emacs This is a heavyweight editor under Linux, but it's not just an editor, you can look at it as an integrated development environment, which is mentioned in the end of the article. Emacs is
The operation of Gpio in embedded devices is the most basic operation. The general practice is to write a separate driver, most of the online examples are this. In fact, under Linux there is a common Gpio operation interface, that is, I would like
VMware download, you can go to his official website: https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evaluation.html
360 and other software installation centers are available to download, but it is estimated that only the latest
Today, with WINSCP modified the Management machine Linux system under a file, the results of the restart after the management machine is not connected ... But with the debug mouth in, ifconfig a look, I, I changed the site is not good, restart
1.free
Displays memory usage with the default unit of KB.
Free-m in MB; free-g in GB
Figure 1-1 Free Command screenshot
The second line, used this column is usually relatively high, because Linux think that memory is idle, as well as buffer and
Previously based on the IBM Deveplopworks Community Code, do a serial port initialization and send the program, today on this basis to add a reading serial data program. The first is the simplest loop-reading program, the second is through the soft
Introduced
In Linux, for text processing and analysis is extremely important, now there is a file called Data1, students can download here,
wget http://labfile.oss.aliyuncs.com/courses/1/data1
The records in it are the records of some of the
Such a scenario, we have a server, but want to hang multiple sites, then Apache configuration virtual host can meet this demand;
It is simpler to configure the following configuration steps based on the host name:
Sample Environment
ip:115.28.17.191
Summarize some of the algorithms for the Linux kernel
Transferred from
Http://www.eechina.com/thread-159896-1-1.html 1.Linux dispatch i/ o Consumption-and processor-consuming processes (ensuring timely IO response and efficient CPU
The Linux kernel load process is approximate:
The first step-loading the BIOS
People with a slight computer base should have heard the BIOS (basic Input/output System), which can be viewed as software that is recorded in ROM. It is also clear how
In some cases, you might want to know which directory my program links to.
There are three ways to deal with this easily.
1. LDD command
$ LDD App
2. Static Lookup
$ locate Lib_name
3. Dynamic implementation
$ strace App 2>&1 | grep lib_name
Let
Common Linux error code implications, as shown in the following table:
Name
Value
Describe
Eperm
1
Operation not allowed
Enoent
2
No such file or directory
Esrch
3
No
1. Download ipmitool:http://ipmitool.sourceforge.net/
2. Make sure the GCC tools are installed
3. Load IPMI-enabled drivers on Linux systems:
Insmod/lib/modules/2.6.32-220.el6.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko
Insmod/lib/modules/
Discussion of empty directories and empty files occupy space in Linux first:
In Linux systems, file systems are managed by inode and block, and each file and directory has a unique inode that stores the attributes of the file or directory. However,
has been using Linux, but never studied the system, starting from January 1 to the end of July 16, nearly seven months of study, so that since the Linux has a new understanding of the old boy teacher's class is really good, the actual combat is very
Chapter One: Generating a process (processes)
What the process is. Simply put, a process is a program in execution state (including CPU state, state of memory, etc.)
The a process generates a B process, which means that the a program generates
Zhengdelen original works reproduced please indicate the source of "Linux kernel Analysis" MOOC coursehttp://mooc.study.163.com/course/USTC-1000029000First, configure the environment:First of all, we have the environment configuration completedEnter
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