Interview Prep/Linux/Migrations, performance and fleet operations

Your team wants to know which process is causing heavy disk I/O on a server. How?

BeginnerScenarioMigrations, performance and fleet operations
Answer

Situation read → Per-process I/O accounting.

What I'd do →

sudo iotop -oPa          # only processes doing I/O, accumulated
pidstat -d 1 5           # kB_rd/s, kB_wr/s per process
sudo cat /proc/<PID>/io

Why → iostat shows the disk is busy; iotop and pidstat -d show who is making it busy.

Interview tip → Mention that iotop needs CONFIG_TASK_IO_ACCOUNTING and root.

All Linux questions Roadmap: Linux

More on Migrations, performance and fleet operations