Operating systems notes

The Process & the PCB

What a running program actually is to the kernel, and the record it keeps to manage one. Every section is a drawn page beside a clear written explanation, about 19 minutes in all.

  • Chapter 8 of 37
  • About 19 minutes
  • 9 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of The Process & the PCB: What a process really is
The chapter's first page: What a process really is

In this chapter

  • What a process really is
  • What the process owns in memory
  • The Process Control Block
  • Process states & the state diagram
  • Creating a process: fork()
  • Running a new program: exec()
  • Waiting & exit: reaping children
  • Zombies & orphans
  • Process vs thread & why engineers care

Next chapters

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 38 operating systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.