Configure Swap and Inspect Memory Pressure
Add a small swap area on its own partition, make it permanent, watch a bounded workload push the machine, and learn to tell 'memory is full' from 'memory is under pressure'.
Skill labintermediate~30 minPro
What you'll do
- ✓Read free, swapon and vmstat and know what available means
- ✓Create and activate a swap partition
- ✓Persist swap in fstab by UUID and prove it after a reboot
- ✓Observe a bounded memory workload without triggering the OOM killer
Lab outline
- 01Swap
- 02Persist
- 03Observe
- 04Prove it
Before you start
- Filesystems and Persistent UUID Mounts
- Processes, Signals, and Job Control
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.