Concept of “Performance Counters” in Linux/Unix [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-18 04:35:17

问题


Windows has a Performance Counters infrastructure. The OS provides some common counters, and I can go add my own. What is the corresponding concept in Linux/Unix?


回答1:


Take a look at:

  • OProfile
  • perfctr
  • perfmon2



回答2:


There is also PAPI and PerfSuite.




回答3:


Several applications exist which periodically check system performance.

  • iostat, vmstat, and netstat - Run these commands once to get a snapshot of activity.
  • sysstat - This runs periodically and maintains a history of statistics such as the above.
  • Munin - As sysstat, but with pretty web graphs.


来源:https://stackoverflow.com/questions/1100733/concept-of-performance-counters-in-linux-unix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!