I am using ubuntu. There are some processes that are doing io frequently on my server, even a "ls" command will cost 1 second to execute. I want to find out which process is doing io so heavily, is there any good command or tool?
Thanks.
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.
The iotop command is top-like utility for looking at disk I/O. It gathers I/O usage information provided by the Linux kernel so that you can get an idea which processes are most demanding in terms in disk I/O.
To check which processes are actually utilizing the disk IO, run the iotop command with -o or –only option to visualize it. Details: IO: It shows Input/Output utilization of each process, which includes disk and swap. SWAPIN: It shows only the swap usage of each process.
You can use iotop
to find processes that are io heavy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With