Skip to content

← Week 15 | Overview | Week 17 →

Week 16 - Bash II and a troubleshooting method

Phase 4: Networking, Bash, troubleshooting (Weeks 13-16)

  • Done

Goal: Have a repeatable way to find out what is wrong.

Reading: Ch. 30 Troubleshooting (scripts); Ch. 18 Archiving and Backup (backup scripts with rsync).

Exercises:

  • logrotate, cron versus timers, a backup script with retention and a restore test.
  • strace, lsof, vmstat, iostat, free, pidstat: find CPU, memory, disk and network bottlenecks.
  • Intro to dotnet-counters, dotnet-trace and dotnet-dump on Linux.
  • Build a runbook: 'site down' and 'site slow' with the exact commands in order.

Deliverable: Phase 4 checkpoint: a runbook another person could follow at 3 a.m.

My notes: week-16-notes.md


← Week 15 | Overview | Week 17 →