Interview Prep/Linux/Migrations, performance and fleet operations

A server is "slow" according to users. What is your first 60 seconds of investigation?

BeginnerScenarioMigrations, performance and fleet operations
Answer

Situation read → Check the four resources quickly: CPU, memory, disk, network.

What I'd do →

uptime                       # load trend
dmesg -T | tail              # OOM, I/O errors
vmstat 1 5                   # r, b, si/so, wa
mpstat -P ALL 1 3            # per-CPU
iostat -xz 1 3               # %util, await
free -h
sar -n DEV 1 3               # network throughput
top -c

Why → This quickly tells you which resource is saturated, so you dig in the right place.

Interview tip → Name the USE method (Utilisation, Saturation, Errors) for each resource.

All Linux questions Roadmap: Linux

More on Migrations, performance and fleet operations