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.
|
feedback
|
|
I think iostat is the basic tool you want. | |||
feedback
|
|
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. | |||
|
feedback
|
|
top (1) will show this information. You can specify a particular process ID with | |||
|
feedback
|
|
Try mpstat and look at %iowait.
| |||
|
feedback
|