[lug] Per process I/O stats

Steve Sullivan sullivan at mathcom.com
Sun Sep 7 21:05:10 MDT 2008


Nick,

Thanks, pidstat (part of sysstat) is exactly what I'm
looking for.

Sadly it requires kernel 2.6.20, and the current debian etch
is 2.6.18.  Apparently debian lenny, 2.6.26, is due out soon
so that should resolve the issue.

Steve

On Sun, Sep 07, 2008 at 11:04:54AM -0600, Nick Golder wrote:
> On 2008-09-07 06:47 -0600, Steve Sullivan wrote:
> > Is there a way to get per-process I/O stats for
> > paging, swapping, and ordinary program-initiated I/O
> > on Debian?
> > 
> > I'm familiar with vmstat and iostat, which are great
> > for a system-wide view.  But I'm wondering which processes
> > are hogging the disk or the raid.
> > 
> 
> Have you looked at pidstat(1)?
> 
> -- 
> Nick Golder
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

-- 

========================================
Steve Sullivan    sullivan at mathcom.com

http://www.mathcom.com    303-494-7115
========================================



More information about the LUG mailing list