pt-ioprofile在CentOS7上無法運行的解決辦法
pt-ioprofile的下載地址:https://www.percona.com/downloads/percona-toolkit/LATEST/
pt-ioprofile的使用方法參考:http://www.rzrgm.cn/ivictor/p/6013980.html
pt-ioprofile的安裝方法:yum install percona-toolkit-x.x.x-x.el7.x86_64.rpm
安裝完成后,執行pt-ioprofile -p [pid],只顯示total filename,沒有任何其他輸出。

pt-ioprofile在CentOS7上無法運行,解決辦法參考鏈接:https://jira.percona.com/browse/PT-1631?page=com.docminer.jira.issue-links%3Acom.kintosoft.jira.links.tab-panel
找到pt-ioprofile文件,yum安裝是在/usr/bin目錄下,將574行由 /^Process/ { mode = "strace"; } 修改成 /^(strace: )?Process/ { mode = "strace"; },再次執行pt-ioprofile -p [pid],輸出預期結果。


浙公網安備 33010602011771號