Created
November 13, 2017 01:16
-
-
Save cocodrino/790e1c784a5c6b6b13058a4f32b520c1 to your computer and use it in GitHub Desktop.
show excesive IO in disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iotop -bktoqqq -d .5 | |
where: -b is batch mode | |
-k is kilobytes/s | |
-t adds timestamp | |
-o only show processes or threads actually doing I/O | |
-qqq removes output headers | |
-d .5 updates every .5 seconds | |
Once you have the process id, you can also find the files with | |
lsof -p $PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
iotop -aoP
-a Will show accumulated output
-o Will only output
-P Will only show processes instead of threads