Identify which process is responsible for heavy disk i/o under FreeBSD

Solution 1:

You can use FreeBSD top to achieve this.

While running top interactively, press m.

According to top man page :


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

Of course, this tip won't work under linux as linux top and bsd top are different programs.