[wplug] tracking processes writing to disk

Brian A. Seklecki lavalamp at spiritual-machines.org
Wed Mar 4 12:22:23 EST 2009



On Wed, 2009-03-04 at 11:36 -0500, Patrick Wagstrom wrote:
> Ever had the case where some process or collection of processes goes
> crazy and starts writing to disk and you can't figure out why?  Yeah,
> me to.  I know you can track how much disk activity there is using
> programs like 


FreeBSD's top(1) has an "I/O" mode for pulling stats from the VFS layer:

http://people.collaborativefusion.com/~seklecki/images/cf_fbsd_top_iomode.png

~BAS

> iostat and vmstat, but is there any way to track it by process?  Right
> now the only way I can think of is to search for a process that is
> frequently in the IO or WAIT status and hope that's it.
> 





More information about the wplug mailing list