mpstat -P ALL shows high %wa time on a single core from an 8 core CPU and I'm trying to figure out what's writing to disk. So how can I figure out what is running on that CPU core?
Linux – Find process causing IO wait time
centoslinuxmulti-coreprocess
Related Topic
- Linux – How to Log CPU Usage Per Process
- Linux – Massive CPU usage spike, How to find out what causes it
- Centos – mpstat not showing all CPUs on CentOS 5.5 (64 bit)
- Linux Process Management – Keeping a Linux Process Running After Logout
- Ubuntu – How to get all processes running on each CPU core in Ubuntu
Best Answer
iotop
and will show processes writing on disk.Press a in it to top the most greedy process.
lsof | grep -e "[[:digit:]]\+w"