Is there a way to test disk i/o of a process in a similar fashion?
I am trying different methods to limit disk writes in a 24/7 daemon process and would like to
measure. I know pidstat does it but only to a running process, i want to do one shot test comparisons
with the daemon not running continuously.
My take on what you need for a given pid, correct me where I am wrong:
time spent in I/O == (sum of I/O queue waits)/(unit time).
And again, a SAN can handle larger number of direct I/O requests than a single physical disk without much degradation of perofrmance. So I dunno too much here.
I am running debian on a virtual hosting provider.
no package for dtrace.
iostat is sort of what I want but it only works on running processes, I want to do comparison runs
one shot with the same data and get a total for each.
I want to do a run and get the details of blocks written to disk.