Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding process with heavy disk I/O on FreeBSD

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.

like image 428
Sergey Efimov Avatar asked Dec 24 '12 13:12

Sergey Efimov


People also ask

How can I tell which process is using disk IO?

By using iotop command, you can monitor the disk utilization by individual processes. You will get the following output: By typing the iotop command with o option, you will get the actual I/O activity. With the help of iostat command, you will get the individual hard disk I/O activity.


1 Answers

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

like image 154
Sergey Efimov Avatar answered Oct 26 '22 06:10

Sergey Efimov