UNIX操作系統(tǒng)

出版時(shí)間:2011-4  出版社:劉玉坤 高等教育出版社 (2011-04出版)  作者:劉玉坤,等 編  頁(yè)數(shù):368  

內(nèi)容概要

  《UNIX操作系統(tǒng):依據(jù)UNIX內(nèi)核服務(wù)的開(kāi)發(fā)指南(英文版)》是一個(gè)源代碼操作系統(tǒng),廣泛應(yīng)用于企業(yè)級(jí)行業(yè)應(yīng)用領(lǐng)域以及嵌入式設(shè)備中?!禪NIX操作系統(tǒng):依據(jù)UNIX內(nèi)核服務(wù)的開(kāi)發(fā)指南(英文版)》全面地、系統(tǒng)地介紹了UINX操作系統(tǒng)的開(kāi)發(fā)和管理原則、內(nèi)核服務(wù)、shell、計(jì)算機(jī)聯(lián)網(wǎng)和應(yīng)用。內(nèi)容包括五個(gè)部分:背景以及如何開(kāi)始、文本編輯器、UNIX的內(nèi)核服務(wù)、UNIX的命令解釋以及編程和UINX的網(wǎng)絡(luò)連接。  《UNIX操作系統(tǒng):依據(jù)UNIX內(nèi)核服務(wù)的開(kāi)發(fā)指南(英文版)》可作為高等院校計(jì)算機(jī)專(zhuān)業(yè)研究生和高年級(jí)本科生的教學(xué)參考書(shū),也可供程序設(shè)計(jì)員參考。

作者簡(jiǎn)介

郭立煒,1988年碩士研究生畢業(yè)于哈爾濱電工學(xué)院,現(xiàn)任河北科技大學(xué)信息學(xué)院院長(zhǎng)、教授。長(zhǎng)期在高校從事教學(xué)及管理工作,主講過(guò)10門(mén)大學(xué)課程,參與完成了與波蘭華沙電工研究所的大型發(fā)電設(shè)備電磁場(chǎng)計(jì)算及其頻率特性分析的合作課題,在國(guó)內(nèi)外發(fā)表有影響的學(xué)術(shù)論文30多篇。Yukun Liu(劉玉坤)河北科技大學(xué)計(jì)算機(jī)系副教授,英國(guó)貝德福特大學(xué)應(yīng)用計(jì)算研究所博士研究生。Yong Yue(岳勇)英國(guó)貝德福特大學(xué)教授,應(yīng)用計(jì)算研究所主任,計(jì)算機(jī)科學(xué)與技術(shù)系執(zhí)行主任。

書(shū)籍目錄

1  Background of UNIX Operating System  1.1  Introduction of Operating System  1.2  Types of UNIX  1.3  History of UNIX  1.4  Summary  Problems  References2  How to Start  2.1  UNIX Software Architecture    2.1.1  UNIX Kernel    2.1.2  System Call Interface    2.1.3  Standard Libraries and Language Libraries    2.1.4  UNIX Shell    2.1.5  Applications  2.2  UNIX Environment  2.3  Character User Interface Versus Graphical User Interface  2.4  UNIX Command Lines    2.4.1  UNIX Command Syntax    2.4.2  Directory Operation Commands    2.4.3  File Operation Commands    2.4.4  Displaying Online Help    2.4.5  General Utility Commands    2.4.6  Summary for Useful Common Commands  2.5  UNIX Window Systems    2.5.1  Starting X    2.5.2  Working with a Mouse and Windows    2.5.3  Terminal Window    2.5.4  Using a Mouse in Terminal Windows  2.6  Shell Setup Files  2.7  Summary  Problems  References3  Text Editors  3.1  Difference Between Text Editors and Word Processors  3.2  Introduction of Pico Editor    3.2.1  Start pico, Save File, Exit pico    3.2.2  Create a New File with Pico    3.2.3  Cursor-moving Commands in Pico    3.2.4  General Keystroke Commands in Pico  3.3  The vi Editor and Modes    3.3.1  Three Modes of the vi and Switch Between Them    3.3.2  Start vi, Create a File, Exit vi    3.3.3  Syntax of the vi Commands  3.4  Practicing in Insert Mode of the vi Editor  3.5  Practicing in Command Mode and Last Line Mode of the vi Editor  3.6  Using Buffers of the vi Editor  3.7  The vi Environment Setting  3.8  Introduction of the emacs Editor    3.8.1  Start emacs, Create File, Exit emacs    3.8.2  Buffers, Mark and Region in emacs    3.8.3  Cursor Movement Commands    3.8.4  Keyboard Macros    3.8.5  Search and Replace    3.8.6  Operation Example    3.8.7  Programming in emacs  3.9  Summary  Problems  References4  UNIX Process Management  4.1  Multiple Processes'Running Concurrently    4.1.1  Fundamental Concept for Scheduler and Scheduling Algorithm    4.1.2  UNIX Scheduling Algorithm and Context Switch  4.2  Process States  ……5 Unix Memory Management6 Unix File System7 Unix i/o System, i/o Redirection and Piping8 Unix Shell Introduction9 How to Program in Bourne Shell (1)10 How to Program in Bourne Shell (2)11 Unix in Internet and Computer Networkingindex

章節(jié)摘錄

版權(quán)頁(yè):插圖:When the demand paging handler is invoked during the fork system call,the kernel increments the region reference field of shared regions for the childprocess. For each of private regions of the child process, the kernel allocates anew region table entry and page table. The kernel then examines each entryin page table of the parent process. If a page is valid, the kernel incrementsthe reference process number in its frame table entry, indicating the numberof processes that share the page via different regions rather than through theshared region in order to let the parent and child processes go in differentways after the execve system call. Similarly, if the page exists on the swapspace, it increments the reference field of the swap table entry for this page.Now the page can be referenced through both regions, which share the pageuntil one of the parent or child processes writes to it.Then the kernel copies the page so that each region has a private version.To do this, the kernel turns on the copy-on-write bit for each page table entryin private regions of the parent and child processes during the fork systemcall. If either process writes the page, it causes a protection page fault thatinvokes the protection handler. Now we can see that the copy-on-write bitin a page table entry is designed to separate a child process creation fromits physical memory allocation. In this way, via protection page fault, thememory allocation can postpone until it is needed.The protection page fault can be caused in two situations. One is whena process references a valid page but its permission bits do not allow theprocess access, and the other is when a process tries to write a page whosecopy-on-write bit is set by the fork system call. The kernel has to check firstwhether or not permission is denied in order to make a decision about whatto do next, to signal an error message or to invoke the protection handler. Ifthe latter, the protection handler is invoked.When the protection handler is invoked, the kernel searches for the ap-propriate region and page table entry, and locks the region so that the pagecannot be swapped out while the protection handler operates on it. If thepage is shared with other processes, the kernel allocates a new frame andcopies the contents of the old page to it; the other processes still referencethe old page. After copying the page and updating the page table entry withthe new frame number, the kernel decrements the process reference numberof the old frame table entry.

編輯推薦

UNIX操作系統(tǒng)是一個(gè)源代碼操作系統(tǒng),廣泛應(yīng)用于企業(yè)級(jí)行業(yè)應(yīng)用領(lǐng)域以及嵌入式設(shè)備中?!禪NIX操作系統(tǒng)(依據(jù)UNIX內(nèi)核服務(wù)的開(kāi)發(fā)指南英文版)》全面地、系統(tǒng)地介紹了UNIX操作系統(tǒng)的開(kāi)發(fā)和管理原則、內(nèi)核服務(wù)、Shell、計(jì)算機(jī)聯(lián)網(wǎng)和應(yīng)用。內(nèi)容包括五個(gè)部分:背景以及如何開(kāi)始、文本編輯器、UNIX的內(nèi)核服務(wù)、UNIX的命令解釋以及編程和UNIX的網(wǎng)絡(luò)連接。本書(shū)由劉玉坤、岳勇、郭立煒編著。

圖書(shū)封面

評(píng)論、評(píng)分、閱讀與下載


    UNIX操作系統(tǒng) PDF格式下載


用戶評(píng)論 (總計(jì)0條)

 
 

 

250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7