7

I wonder how I can monitor which process takes out all my IO bandwith. The only command i know is gstat but it shows cumulative info. Is there any tools i can use to inspect the running processes for their io usage? The system is FreeBSD 8.3

Thank you

Sergey Efimov
  • 184
  • 1
  • 5

2 Answers2

9

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.

0

top -a -m io

BSD's top command has 2 modes, io and cpu.

-a lists the full command line for processes.

This can also be invoked interactively by pressing m (and a) if desired.

The other native IO commands such as iostat -w and systat -dipslay iostat lack the processes unfortunately.

Elvin
  • 1
  • 2