AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

How to find Disk KB/Read by Process ?

  • 1.  How to find Disk KB/Read by Process ?

    Posted Mon October 18, 2010 01:15 PM

    Originally posted by: karunanidhis


    Hi !
    How do I find "disk - Bytes read" per process ?
    Note: I don't need to disk i/o (number of transactions). What I need is the "Bytes read" by process. I'm dealing with a huge spike in " Kilo Bytes Read" in the "iostat" output. I need to find out which process is initiating this spike in KB read. If I sort the processes by mere disk/io, few processes show up but there is no Spike that can I see (these processes always have the same disk i/o).

    Thanks in advance

    • K

    #AIX-Forum


  • 2.  Re: How to find Disk KB/Read by Process ?

    Posted Tue October 19, 2010 08:27 AM

    Originally posted by: j.gann


    I can point you in 2 directions:

    • probevue on aix6+ (system call entry/exit probes for the "usual suspects" like read, write, ....)
    on linux you'd use systemtap
    • filemon combined with fuser (fm. shows which files the io is done to, fuser which process has the file open), lsof also might come in handy....

    jg
    #AIX-Forum