一 简介:如何使用pt-iopfile调查io具体信息
二 目的:利用pt-iopfile分析mysql内部IO操作密集的文件,用以发现问题
三 使用:
 pt-iopfile -p mysql_pid
 -c sizes B/S输出
 -c times 默认
 -c count

四 输出结果
  total pread pwrite write fsync filename
  read/write/fsync linux底层
  fread/fwrite/fflush 依附于linux底层
  filename 操作对象
五 原理
  对某个pid附加一个strace进程进行IO分析

 

相关文章:

  • 2022-12-23
  • 2022-02-25
  • 2021-07-07
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
猜你喜欢
  • 2021-10-21
  • 2021-11-26
  • 2022-01-28
  • 2021-09-11
  • 2022-03-04
  • 2021-10-21
  • 2022-03-01
相关资源
相似解决方案