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.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
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 |
|||
|
|
|
Try mpstat and look at %iowait.
|
|||
|
|