1 / 13

CS 423 – Operating Systems Design Lecture 4 – LINUX Overview

CS 423 – Operating Systems Design Lecture 4 – LINUX Overview. Roy Campbell Spring 2008. Administration. MP1 Assigned. Due Feb 4. 8am. Login and use virtual machines and kernel Read Tanenbaum Ch 1, 10 Read Understanding the LINUX Kernel, Bovet and Cesati, Chapter 1.

tamah
Download Presentation

CS 423 – Operating Systems Design Lecture 4 – LINUX Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 423 – Operating Systems DesignLecture 4 – LINUX Overview Roy Campbell Spring 2008 CS 423 – Spring 2008

  2. Administration MP1 Assigned. Due Feb 4. 8am. Login and use virtual machines and kernel Read Tanenbaum Ch 1, 10 Read Understanding the LINUX Kernel, Bovet and Cesati, Chapter 1. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  3. Linux Utility Programs (1) Categories of utility programs: File and directory manipulation commands. Filters. Program development tools, such as editors and compilers. Text processing. System administration. Miscellaneous. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  4. Linux Utility Programs (2) Figure 10-2. A few of the common Linux utility programs required by POSIX. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  5. Linux Utility Programs (3) Figure 10-2. A few of the common Linux utility programs required by POSIX. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  6. Kernel Structure Figure 10-3. Structure of the Linux kernel Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  7. Processes in Linux Figure 10-4. Process creation in Linux. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  8. Process Management System Calls in Linux (1) Figure 10-5. The signals required by POSIX. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  9. Process Management System Calls in Linux (2) Figure 10-6. Some system calls relating to processes. The return code s is −1 if an error has occurred, pid is a process ID, and residual is the remaining time in the previous alarm. The parameters are what the names suggest. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  10. Process Management System Calls in Linux (3) Figure 10-7. A highly simplified shell. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  11. Implementation of Processes and Threads in Linux (1) Categories of information in the process descriptor: Scheduling parameters Memory image Signals Machine registers. . . Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  12. Implementation of Processes and Threads in Linux (2) System call state File descriptor table Accounting Kernel stack Miscellaneous Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

  13. Threads in Linux (1) Figure 10-8. The steps in executing the commandls typed to the shell. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639

More Related