Old friend command
iostat -xnmpz 5
I Believe your are interested in disk I/O by process, however iostat
does not have a “by process” switch. iostat fetches its info
from Kstat13, the Kernel statistics framework. Kstat is a great resource, and is used by tools such as vmstat, mpstat and sar. While Kstat does track statistics by disk and by CPU, it does not track statistics by process – that's what procfs is for.

A while ago located a freeware tool called prusage to print out this prusage struct data and other statistics. The default output of prusage looks like this,
The highlighted columns are taken from the pr_inblk, pr_oublk and pr_ioch values.
Another tool to view these statistics is from the the SE Toolkit,

The highlighted columns also print pr_inblk, pr_oublk and pr_ioch. If needed, it would be easy to write a tool to just print these columns plus PID and process name, in the SE Toolkit's

Hi
Thanks but these commands are not available
I need to
Collecting average IO of busiest process over time
Collecting average CPU usage of busiest process over time
Collecting average IO of a process running intermittently on the system
Collecting average CPU usage of busiest process when multiple instances of same process are running
any ideas
I do have dtrace but am unsure of the syntax

You will not be able to get a specific process I/O, but for system I/O
information you can try nmon for linux, and AIX or sar for hp/solaris/osx.
There are also other products out there that gather information. You can
look at ganglia also.