[CentOS] Correlate i/o with a process

William L. Maltby CentOS4Bill at triad.rr.com
Sat Aug 18 09:32:40 UTC 2007


On Fri, 2007-08-17 at 20:29 -0400, Mag Gam wrote:
> Thanks John.
> 
> Yes, this is a tricky question, but I face this a
> lot....Unfortunately, I am not sure how to check the adapter
> throughput, and what process is causing the i/o wait.
> 
> 
> On 8/17/07, John R Pierce <pierce at hogranch.com> wrote:
>         Mag Gam wrote:
>         > Hello:
>         >
>         > I have a server with 2 HBAs, and the users keeps complaining
>         about
>         > performance problems. My question is, how can I relate the
>         process
>         > with high I/O wait? Also, is it possible to see how much
>         data is being 
>         > pushed thru by my 2 HBAs?
>         
>         iostat (part of the sysstat package) will answer your 2nd
>         question.
>         
>         I dunno how to measure io wait time per process.  maybe IBM's
>         NMON can
>         do that, not sure, I haven't used it for a while. 
>         http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon
>         <snip sig stuff>

I *think* that sar (System Activity Reporting?) package is still
available? Haven't looked/used for a long time. If so, you should be
able to get what you want, and a lot more, by installing and activating
it.

HTH
--
Bill




More information about the CentOS mailing list