iotop shows which process is doing disk I/O.
Shows only tasks doing I/O:
iotop -oPa
-o toggles “only active I/O”
-a accumulates I/O per process
-P shows per-process (not threads)
If you get SWAPIN/IO% warning, run
sysctl -w kernel.task_delayacct=1

Leave a Reply