Finding process with heavy disk I/O on FreeBSD

Sergey Efimov picture Sergey Efimov · Dec 24, 2012 · Viewed 37.8k times · Source

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

Answer

Sergey Efimov picture Sergey Efimov · Dec 25, 2012

The answer is to use top then hit m to display IO percentage per process/thread.