Is there a linux command that allows you to see a processes IO wait time vs. CPU time? I'm trying to see whether some processes are IO-bound or CPU-bound.
Is there a linux command that allows you to see a processes IO wait time vs. CPU time? I'm trying to see whether some processes are IO-bound or CPU-bound.
Have a look at iotop.
I think iostat is the basic tool you want.
If you install the atsar package you can look at the system's CPU and I/O stats. Simply using top should give let you know if the a particular process is CPU or memory bound. I am not sure how you see the I/O stats for a particular process.
top (1) will show this information. You can specify a particular process ID with
-p
.Try mpstat and look at %iowait.