Finding what's causing I/O

martinko martinkov at pobox.sk
Mon Sep 26 00:42:25 PDT 2005


Shanker Balan wrote:
> 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.
> 

well, thanks for the switch. i couldn't find any description/explanation
of/on the columns (VCSW,..) in top(1) man page, though. :(



More information about the freebsd-performance mailing list