Linux下进程性能分析工具

来源:互联网 发布:淘宝排行榜如何设置 编辑:程序博客网 时间:2024/06/05 10:45

Netperf:可以用来测试主机的网络性能。

Perf:很好的工具,内置在2.6.31以上的内核版本中,非常详尽的介绍,猛击。

mutrace:如果分析互斥锁的阻塞/冲突情况,这里有相关的讨论,提到了mutrace工具

Oprofile:如果碰到“opreport error: No sample file found: try running opcontrol --dump”错误,尝试

$sudo opcontrol --deinit

Daemon not running

Unloading oprofile module
然后,
$sudo modprobe oprofile timer=1  
Oprofile问题的解决方法转自鱼刺的博客:http://blog.sina.com.cn/s/blog_5f99444c01016apt.html