Total I/O cost of a process
Try pidstat. Use it like this: pidstat -d -e command
pidstat
is able to report statistics for Linux tasks. The -d
instructs pidstat
to gather IO stats. pidstat
will stop and print the report once the command finished.