Skip to content

← Week 16 - Bash II and a troubleshooting method

Week 16 - Bash II and a troubleshooting method: notes

Status: Not started

Exercise 1

logrotate, cron versus timers, a backup script with retention and a restore test.

Commands, results, what surprised me.

Exercise 2

strace, lsof, vmstat, iostat, free, pidstat: find CPU, memory, disk and network bottlenecks.

Commands, results, what surprised me.

Exercise 3

Intro to dotnet-counters, dotnet-trace and dotnet-dump on Linux.

Commands, results, what surprised me.

Exercise 4

Build a runbook: 'site down' and 'site slow' with the exact commands in order.

Commands, results, what surprised me.

Deliverable

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

Write-up.