- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Processes in Unix, Linux, and Windows.ppt
CS-3013 C-term 2008 Process in Unix, Linux and Windows Processes in Unix, Linux, and Windows CS-3013 Operating Systems (Slides include materials from Operating System Concepts, 7th ed., by Silbershatz, Galvin, Gagne and from Modern Operating Systems, 2nd ed., by Tanenbaum) Processes in Unix, Linux, and Windows Unix pre-empted generic term “process” to mean something very specific Linux and Windows adopted Unix definition Process in Unix-Linux-Windowscomprises an address space – usually protected and virtual – mapped into memory the code for the running program the data for the running program an execution stack and stack pointer (SP); also heap the program counter (PC) a set of processor registers – general purpose and status a set of system resources files, network connections, pipes, … privileges, (human) user association, … … Processes – Address Space Processes in the OS – Representation To users (and other processes) a process is identified by its Process ID (PID) In the OS, processes are represented by entries in a Process Table (PT) PID is index to (or pointer to) a PT entry PT entry = Process Control Block (PCB) PCB is a large data structure that contains or points to all info about the process Linux - defined in task_struct – over 70 fields see include/linux/sched.h Windows XP – defined in EPROCESS – about 60 fields Processes in the OS – PCB Typical PCB contains: execution state PC, SP processor registers – stored when process is not in running state memory management info Privileges and owner info scheduling priority resource info accounting info Process – starting and ending Processes are created … When the system boots By the actions of another process (more later) By the actions of a user By the actions of a batch manager Processes terminate … Normally – exit Voluntarily on an error Involuntarily on an error Terminated (killed) by the actions a user or a process Processes – States Process has an execution state ready: waiting to be assigned to CP
您可能关注的文档
- Lesson 17 Seasons.ppt
- Lesson 60.ppt
- Leveraging Buying Power.ppt
- Lifemark Long Term Care Experience.ppt
- Lights, Camera, Action.ppt
- Linux Device Drivers.ppt
- Listen and say a poem.At the library..ppt
- México antes de la guerra contra Estados Unidos.ppt
- M. Manghisonic,d, L. Rattia,c, V. Reb,c, V. Spezialia,c.ppt
- Machining.ppt
- Professor Martin Charter Director The C.PPT
- Progress of International Air Transport Liberalizationof China.ppt
- Progress Report of the Asian Division,Library of Congress.ppt
- Prospective Studies ofAvian Influenza Transmission in Asia.ppt
- Pspice(AC SWEEP).ppt
- Psychosocial Development in Late Adulthood (60 yrs.>).ppt
- Public Sector Energy Management.ppt
- qqqxh666.ppt
- Quality Tools Available for Critical Access Hospitals.ppt
- QUICK FIX SOCIETY.ppt
最近下载
- 2025-2026新人教版小学3三年级数学上册全册教案【新教材】.doc
- 发展社会主义民主政治..pptx VIP
- 加油站试用合同.docx VIP
- 《发展社会主义民族政治》主题单元设计.doc VIP
- 学校财务管理培训课件《中小学食堂财务管理与会计核算》.pptx VIP
- 广东省深圳市罗湖区2023年中考英语二模试卷(附答案详解).docx VIP
- 高压变频器节能计算.docx VIP
- 水利水电工程单元工程施工质量验收评定表及填表说明.doc VIP
- 《中国特色社会主义》教案第二单元第5课第2框教案.docx VIP
- 苏少版(2024)小学美术一年级上册教学设计(附教材目录).docx VIP
文档评论(0)