Advanced Linux internals & tooling
Not a hardening course. It explains how Linux works underneath and how to find a bottleneck from the symptom: a method for performance problems, /proc and /sys, process lifecycle and the scheduler, boot and systemd internals, virtual memory and the OOM killer, cgroups and namespaces, the VFS, filesystems and the block layer, the network stack and name resolution, then strace, perf, flame graphs, eBPF tools and debuggers, and tuning only after measuring. Commands were run on Ubuntu Server 26.04 LTS (kernel 7.0) with RHEL 10 (kernel 6.12) differences noted. Twenty-one lessons across six sections, each with a self-test, and a final exam.
01A method for performance problemsUSE, workload characterisation and the first minute.16 min02/proc and /sys: the kernel's own viewPer-process status, stack, io and memory maps.14 min03Processes: fork, exec, wait and signalsHow processes are born, run and die.16 min04The CPU schedulerEEVDF, priorities, real-time and run-queue latency.16 min05CPU saturation: load, run queue and pressureLoad average, vmstat, mpstat and PSI.14 min
01Files, descriptors and the VFSfd tables, open files, inodes and limits.14 min02Filesystem internals: ext4 and XFSInodes, extents, journaling and repair.16 min03The block layer, device-mapper and LVMThe I/O path down to the disk, with LVM.16 min04Disk I/O: latency, queues and saturationiostat, pidstat -d and biolatency.14 min
01System calls and straceWhat a program asks the kernel, and its cost.14 min02perf: sampling, flame graphs and off-CPU timeProfile CPU use and read a flame graph.16 min03eBPF tools: bcc and bpftraceReady-made tools and one-liners in production.16 min04Process debugging: ptrace, gdb and core dumpsAttach, inspect and capture a crash.14 min05Tuning the kernel, after you have measuredMeasure, change one thing, verify.14 min
Progress is saved in this browser only — no account required.
Quick reference
Final exam
Test yourself on everything
52 questions drawn from all 6 sections — every answer explained as you pick.