Finding what's causing I/O

Shanker Balan shanu at shankerbalan.net
Fri Sep 23 05:21:37 PDT 2005


Hello,

Francisco Reyes wrote,
> On Fri, 23 Sep 2005, Joseph Koshy wrote:
> 
> >>Is there a way to find out which program(s) are causing the I/O?
> >
> >ktrace(8); you can use it to trace all descendants of 'init'.
> 
> Looking at the man page it's non-obvious how to use it (to me).
> 
> 
> Specially it seems one needs to indicate a pid or a command. How do I
> trace all programs?

See top(1):

    m      Toggle the display between 'cpu' and 'io' modes.

-- 
Shanker Balan


More information about the freebsd-performance mailing list