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.
More on Migrations, performance and fleet operations
You must migrate 2 TB of application data from an old server to a new one with less than 5 minutes of downtime. How?IntermediateThe new server has different UIDs for the same users than the old one. What breaks during migration and how do you handle it?IntermediateYour team must capacity-plan for a server whose disk grows 4% per week. How do you predict when it fills?IntermediateYou need to replace a physical server with a VM without changing its IP or hostname. Plan the cutover.IntermediateMemory usage on a server shows 95% used but the app is fine. A manager is worried. How do you explain and verify?BeginnerYou need to set up central logging for 200 Linux servers. Design it.Intermediate