How to get iostat of a single process

Assuming a recent version of Linux, I'd look at the iotop utility.

You don't mention your distribution of Linux, but the tool is available for most in the default package repositories.


Some useful tools:

  • iotop
  • htop (as instructed by B14D3)
  • btrace

... and if you ever need to see per-process network usage, try nethogs.


Htop can display io stats per process. You have to only setup to display propper colums by pressing f2 and add io_rate io_write_reate and io_read_rate from menu Setup>Columns

You can use iotop.