Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Kernel & System Calls

Explain what the kernel does and how programs cross the user/kernel boundary, and observe it with strace, /proc and /sys.

Intro1 roadmap

4 objectives 6 steps about 110 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Describe the responsibilities of an OS kernel, the difference between user mode and kernel mode, and how monolithic and microkernel designs differ.
  • Explain how a system call traps into the kernel and returns, including the role of the C library wrapper and the vDSO.
  • Trace a program's system calls with strace and map each call to the resource it manages.
  • Inspect kernel state through /proc, /sys, uname, lsmod and dmesg, including kernel version, loaded modules and boot parameters.

Lesson plan

6 steps, about 110 min · 0 of 5 lessons available so far

  1. What an operating system is for: abstraction, isolation and sharing Concept · 15 min · coming later
  2. Crossing the boundary: traps, system calls and limited direct execution Concept · 20 min · coming later
  3. Kernel designs compared: monolithic Linux, microkernels and modules Concept · 15 min · coming later
  4. Lab: trace cat, ls and a Python one-liner with strace -f and -c Lab · 25 min · coming later
  5. Lab: read the kernel's view through /proc, /sys, lsmod and dmesg Lab · 20 min · coming later
  6. Check: match the calls in a trace to program behaviour Knowledge check · 8 questions

Practise it

Run strace -c and strace -f on a program you use (for example git status or curl), list the ten most frequent system calls, and write a short note explaining what resource each one manages and why the program needs it.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 30 tutorials that practise it

References

Hard prerequisites

None.

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.