When writing a program, we often use the library of functions. The function library is a set of functions that have been written in advance, and its performance is quite excellent and accepted by the public. And we need to implement some of the
The safest way to kill a process is simply to use the KILL command, with no modifiers, no flags. First use the PS-EF command to determine the PID to kill the process, and then enter the following command: # kill-pid NOTE: Standard KILL command
/TMP is typically a direct footprint/partition space, unless you have a separate partition space for it to use when you install it. So it's up to you/or an independent partition space project.
As for the other turns, you can adjust the/tmp
first, the concept of the thread
threads, sometimes referred to as lightweight processes (lightweight PROCESS,LWP), are the smallest units of program execution flow. A thread is an entity in a process, the basic unit of a system that is
Author: Sandy Original works reproduced please indicate the source"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000 "Experimental environment: C+linux64 bit (32-bit system may result in different)In accordance with
Linux Network Initialization process
1. System initialization
(1) X86 of PC initialization process
1) Initialization of the CPU itself
2 BIOS Power self-test post
Complete the system hardware detection, including memory detection, system bus
Linux Debugger GdB
First, GDB introduction
The debugger in the GNU toolset is GDB, the program is an interactive tool that works in character mode.
In addition to GDB, Linux is more well-known under the debugger and Xxgdb, DDD, kgdb, UPS.
second,
Linux kernel initializes the process of high-end memory
The kernel calls Mem_init () in the Start_kernel () function to do all the work related to memory initialization. The work associated with initializing high-end memory is done in function
Author: Sandy Original works reproduced please indicate the source"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000 "Experimental environment: C+linux64 bit (32-bit system may result in different)In accordance with
Author: Sandy Original works reproduced please indicate the source"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000 "Experimental environment: C+linux64 bit (32-bit system may result in different)In accordance with
~$ Lspci | Grep-i VGA01:00.0 VGA compatible Controller:nvidia Corporation GF119 [GeForce GT 610] (Rev A1)
If you want to see the details of the GPU, use ~$ lspci-v-S 01:00.0, then:01:00.0 VGA compatible Controller:nvidia Corporation GF119 [GeForce
Linux View video card information:
Lspci | Grep-i VGA
Using the NVIDIA GPU you can:
Lspci | Grep-i nvidia
The front serial number "00:0f.0" is the graphics card code (here is the use of the virtual machine);
To view the details of a
Sometimes we want drivers to be added and removed through make menuconfig at the time of Linux compilation, which can be done in the following ways:
1.LED Drive For example
(1) Create an LED directory in the Kernel\drivers\char\ directory, and then
what is a process.
Process: A process is a computer program on a data set of a running activity, is the system for resource allocation and scheduling of the basic unit, is the basis of operating system structure.To put it simply: a process is a
Process Memory Distribution
has been in the analysis stack, the role of the stack this thing is also introduced almost, but where the stack has not been clear, as well as the heap, code, global variables where they are, this involves the process of
One, one CPU runs the specified function on another CPU
int smp_call_function_single (int cpu, smp_call_func_t func, void *info, int wait) Smp_call_function_single () function,
Run a function on a guided CPU.
Http://soft.chinabyte.com/os/237/11428737.shtml
(1) at command
If we just want to make a particular task run once, then we need to use the at monitor.
Setting the AT command is simple, indicating the time of the scheduled run, and then when it will
One of the more difficult aspects of kernel development than user space development is the difficulty of kernel debugging. Kernel errors often cause the system to go down and it is difficult to keep the scene when the error occurs. The key to
Linux kernel Configuration and compilation (X86 platform)
This article turns from: http://www.linuxidc.com/Linux/2013-07/87360.htm
Note: Only for learning Exchange
Objective:
(1): Configure and compile the Linux-2.6.29 kernel under the X86
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