Linux Server / Performance, Capacity & Containers
Identify a process generating heavy Linux disk I/O
Host-level disk activity does not identify which service caused it. Collect process I/O samples over the affected interval.
Environment and inputs: Linux server baseline · Ubuntu 24.04 LTS / RHEL 9-style systems. Use the specified distribution, init system and installed tool; service names, privileges and supported options can differ.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
pidstat -d 1 5
What the results mean
With sysstat and appropriate process visibility, this reports process disk-I/O activity. Cached writes, filesystem behavior and asynchronous workers can complicate attribution.
Fix the cause and check again
Match the PID to its service, scheduled work and application request pattern. Tune or reschedule the demonstrated producer and verify storage latency improves.
Before changing production
Do not kill the busiest writer without understanding transaction consistency and recovery requirements.