"Reading notes" design and implementation of Linux kernel (chapter III)

3.1 Process The procedure in the execution period.A process is a real-time result of the program code being executed. The kernel needs to manage all the details efficiently and transparently.Execution thread (short thread): an object that is active

Linux kernel Analysis (seventh week)

Loading of executable programsI. Preprocessing, compiling, linking, and formatting of the target file1. How does the executable program come from?Pretreatment:GCC-E-O hello.cpp hello.c-m32* Responsible for inclusion and macro replacement of include

Two important "Parent-child" profiles in Linux User management

In Linux mainly through user profiles to view and modify user information, so below we will introduce two important user profiles, so that you can better hold your users.One: Parent file/etc/passwd1. View configuration file/etc/passwd specific

Basic commands common to Linux

cat-n filename //View the contents of the filename file. - n displays the corresponding line number.Yum Install softname //installation software, remember to use root permissions. Service//view services. For example service mysqld start. Start the

Ping:unknown host www.baidu.com problem appears under Linux

1/configuration file configuration is OK, ifconfig can see the IP address normally2/Can ping the host and gateway within the LAN3/Other hosts in LAN can surf the internet normallyProblem: Unable to ping the address of the extranetWorkaround:Check

Linux test Environment Deployment Tomcat (II)

Installation configuration Tomcat1: Download the latest installation package at http://tomcat.apache.org/download-80.cgi2: Install TomcatUpload the apache-tomcat-8.0.21.tar.gz file to the/usr/local to do the following: (this path is variable)Copy

Linux production LiveCD

Execution: $sudo CP/HOME/JXG/BACKUP-2011.01.05/BACKUP2011.01.05.SQUASHFS/HOME/JXG/LIVECD/CASPER/FILESYSTEM.SQUASHFSIn addition, to update the filesystem.manifest and filesystem.manifest-desktop in the/home/jxg/livecd/casper/directory, these two

The path of the default search header file and library file for Linux under GCC

First, the header fileHow GCC looks for the required header files at compile time:※ The search for header file will start with-I※ then find the environment variables of GCCC_include_path,cplus_include_path, Objc_include_path※ Find the default

On the implementation of CLRSRC function under Linux

In Windows, C has a library conio.h, implemented a lot of functions, but Linux C does not have this library, the internal functions need to implement their own.CLRSRC a realization of the function of clear screen:void Clrscr (void) {System ("clear");

A summary of the seventh week of the Linux kernel analysis course

Name: He WeizinStudy No.: 20135223(* Original works reproduced please specify the source *)(Learning course: Linux kernel Analysis MOOC course http://mooc.study.163.com/course/USTC-100002900)What to learn:how the Linux kernel loads and launches an

Linux Common Utility Commands

bz2

Delete all files in one directory, but keep a specified file:Find/directory/-type F! Name "file" |xargs rm-fCreate a date folder for the day in the/tmp directory each time:echo "mkdir/tmp/' date +%y%m%d '" >>/etc/rc.d/rc.localtransfer files larger

Linux Common Services FTP

PURE-FTPD Installation:wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.42.tar.bz2Decompression: TAR-JXVF pure-ftpd-1.0.42.tar.bz2CD pure-ftpd-1.0.42Installation parameters:./configure--prefix=/usr/local/pureftpd--without-inetd-

How to install a Linux system

The virtual machine installs Linux system, focuses on the Linux partition, the rest does not have any essential difference with Windows,1: Virtual machine usage VMware installation not introduced, no brain installation2: After the installation is

Special permissions on the Linux file system

There are three special privilege bits (Suid,sgid,sticky) on the Linux file system, in addition to the well-known r,w,x permissions1, SUIDSuid that is setuid, in short, is to let the execution of a file (the file has the S permission) of the user

The Linux top command

PS command can only current query the status of the process, the top command can view the status of the process in real-time, and the top command can follow the CPU, memory, execution time and other indicators to sort the process[Email protected]_228

Playing Linux with Putty because I used to use window to finish writing things click Ctrl+s Save

Problem Description: Playing Linux with Putty because of the previous use of window used to write things click Ctrl+s Save, but in the putty a press can no longer input.Later found: Ctrl+s is a command of putty is like this: "Long long ago" some old

Linux Kernel Startup Process Tracking

Linux Kernel Startup Process Tracking1. Use your Linux environment to build MenuOS# Download the kernel source code to compile the kernelCd ~ /LinuxKernel/Wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.6.tar.xzXz-d

Create a new linux Process

Create a new linux ProcessI. background knowledge: 1. Relationship between processes and programs:The process is dynamic, while the program is static. In terms of structure, the entity of each process is composed of two parts: Code disconnection and

. NET cross-platform practice: use C # To develop the Linux daemon,

. NET cross-platform practice: use C # To develop the Linux daemon, The Linux Daemon is a background service process in Linux. It is separated from the control terminal and managed by the Linux init process. Even if you close the console, daemon can

Linux grep command and linuxgrep command

Linux grep command and linuxgrep commandIntroduction Grep is a powerful text search command that can be used to search for a file that contains specified search content. It can use regular expressions to perform complex filtering operations, it can

Total Pages: 5467 1 .... 4040 4041 4042 4043 4044 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.