perf top查看進程cpu高原因

 

幾個關鍵的選項

$perf top -h

-p, --pid <pid>       profile events on existing process id

-g                    enables call-graph recording

 

例如查看redis進程的內核調用,

$perf top -p 28764

 

原文出自:https://blog.csdn.net/daiyudong2020/article/details/90047065

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章