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?
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?
PSR column in output of :
will show you PIDs on each core.
iotop
and will show processes writing on disk.Press a in it to top the most greedy process.
lsof | grep -e "[[:digit:]]\+w"