How to Check Which Process is Using Disk I/O on Linux
linux disk io monitoringiotop commandpidstat disk usageprocess io bottlenecklinux performance troubleshooting
Published·Modified·
Method 1
$ iotop -oP
Command meaning: Displays only processes that have I/O activity.
Test result:
Method 2
$ pidstat -d 1
Command meaning: Displays I/O statistics, updating every second.
Test result:
Note
Both commands require kernel version 2.6.20 and later.
For more parameters, please refer to the man pages.
Original source: How to Check Which Process is Using Disk I/O on Linux. All rights reserved by the original author. If there is any infringement, please contact QQ: 337003006 for deletion.