Some learning materials from the Internet are all text files and garbled characters can be viewed using gedit. Vim can be used for normal display. I know this is an internal code not added to gedit, I don't want to add it either. I still need to use
Sender:
# Include # include # include # include # include # include # include struct MSG {long msg_types; char msg_buf [511] ;}; int main (void) {int qid; int PID; int Len; struct msg pmsg; PMSG. msg_types = getpid (); sprintf (PMSG. msg_
If the system you are using has a large number of file reads and writes, you must consider the impact of the file system on the system performance.
The traditional romfs file system is a simple, compact, read-only file system that does not support
Classification of thread Systems
1.1 The operating system kernel implements the thread model (Core Thread)
-Windows-Multi-to-multi-model of threads and processes
High Thread Efficiency
Shows the window thread structure:
1.2 threads (user
In driver development, several kernel threads are often started to execute some operations throughout the driver's lifecycle, such as the control thread of the USB driver, waiting for the SCSI command. If there is no command, you can sleep, if there
The User ID of a process
The kernel associates two user IDs irrelevant to the process ID with each process. One is the real User ID, and the other is the valid user ID or setuid (Set User ID ). The real User ID is used to identify who is responsible
To start armlinux, bootloader must provide the following steps:1. Set and initialize Ram2. initialize a serial port3. Check the processor type4. Set the kernel tag list5. Call the kernel Image1. Set and initialize RamBootloader needs to find and
Add your own
1. Create a project
Svnadmin create/var/SVN/repos/ServerSVN import/home/yqliu29/Server File: // var/SVN/repos/Server-M "first import"2. Check out the projectSVN Co http: // 192.168.61.79/repos/Server3. Add a file or
The following is the time to analyze tcp_v4_init. This function is in net/IPv4/tcp_ipv4.c:_ Initfunc (voidtcp_v4_init (structnet_proto_family * OPS )){Interr;
Tcp_inode. I _mode = s_ifsock;Tcp_inode. I _sock = 1;Tcp_inode. I _uid = 0;Tcp_inode. I
I. bootloaderIi. kernel guide entryIii. Core Data Structure initialization-kernel boot Part 1Iv. Peripheral initialization-kernel boot Part 2V. INIT process and inittab boot commandVi. RC Startup Script7. Getty and login8. BashAppendix: xdm logon
I haven't written this article for a long time. I will post some notes from yesterday. Now I am studying the Linux bridge section, hoping to perfectly combine it with the hardware switch.The following is an analysis of kernel bridge module
Linux root file system is a file system first, but compared with a common file system, it is special that it is the first file system mounted when the kernel is started, the kernel code image file is stored in the root file system, and the system
1 Kernel(1) kernel Elasticity The Linux kernel is highly configurable and independent, mainly for completing: Io driver device management, TCP/IP, and task scheduling. The standard Linux kernel version is released from 40 ~ 50 MB, while I now only
LinuxLowerArmAssembly tutorial
The first part is the arm assembly syntax in Linux. Although it is very convenient to use C or C ++ to write programs in Linux, the Assembly source program is used for the most basic initialization of the system, such
Use commands
Route command to obtain the route table
As follows:
> Route
Kernel IP routing tableDestination gateway genmask flags metric ref use iface10.70.0.0*255.255.0.0 u 0 0 0 eth0169.254.0.0*255.255.0.0 u 0 0 0 eth0Default 10.70.10.252 0.0.0.0
With a fork statement, a new process is born, but it is only a clone of the old process.
Then, with exec, the new process was reborn and independent from home, and started a career serving the people.
A person is dead, and the process is the same.
I have been calling the JDK driver for more than a week. Now I have finished it. Let's share it with you.
The last week entangled the register of a week and tried n times, regardless of the situation of porting the 3.1 and 3.7 hid drivers, so this
Search for processes
PS-Ef | grep Tomcat
PS-Ef | grep assessme
View port
PS-Aux | grep Tomcat
PS-Aux | grep PID
View all processes and port usage:
Netstat-APN
End Process
Kill [Sid]
Killed 24480
View disk space
DF-H
Delete
Learn Linux recommendations: http://bbs.51cto.com/thread-657268-1.html
After installing RedHat for a few days, the RedHat was not successfully installed, but I am sorry to forget the user name and password. In fact, I don't know whether I forgot or
The safest way to kill a processThe kill command is used without a modifier or a flag.
First, use the PS-Ef command to determine the PID of the process to be killed, and then enter the following command: # Kill-pid note: the Standard kill command
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