Index

Module 13 · From ScratchContainer Runtime

Container 02: UTS and PID Namespaces

Processes Threads and the Kernel
Processes Threads and the Kernel · Open board

The kernel keeps the table of processes. This stage gives one process its own, smaller table to look at.

Before you start. Container 01: Fork and Exec started a command as a child and found that the child sees the host’s hostname and the host’s process list. This stage takes away those two. A hostname is the machine’s name, the text hostname prints. A process id, or pid, is the number the kernel gives each running program (Processes, Threads & the Kernel). You need nothing else.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Lab

The program needs twelve pages at once. What happens when it gets eleven frames?

Drag Frames of real memory from 24 down to 11, then back to 12, and watch Time spent working.

Open The working set →

Three long jobs are running when you press a key. How long until the keypress gets the CPU?

Click Take turns, drag How long one turn lasts from 100 ms down to 1 ms, and watch The keypress waits.

Open The time slice →

Related paper

Review From Scratch →

Saved in this browser, and to your account when you sign in.