美文网首页运维
Linux性能优化(特定IO)

Linux性能优化(特定IO)

作者: SkTj | 来源:发表于2019-02-25 21:56 被阅读11次

1、磁盘IO总的统计信息:vmstat -D
2、vmstat -d //每个磁盘的读写统计


image.png

wa等待IO


image.png
3、iostat -d
image.png
4、iostat -x 更详细的统计信息
image.png

5、sar -d也可以查看
6、lsof +D /usr/bin //查看目录下的所有文件被哪些程序调用


image.png
7、strace -c -p pid
查看进程的读写IO,时间等

strace -tt ./perf //查看程序的执行过程,-tt时间

相关文章

网友评论

    本文标题:Linux性能优化(特定IO)

    本文链接:https://www.haomeiwen.com/subject/xxunyqtx.html