2018-08-08 tools

【转】latencytop深度了解你的Linux系统的延迟

【转】latencytop深度了解你的Linux系统的延迟


Android

bootchart

systrace

Linux

strace

ftrace

perf

latencytop
Use LatencyTOP to find out where process latency is coming from

image.png
image.png
  • way 1
$ tar xzvf /.../latencytop-0.4.tar.gz
$ cd ./latencytop*
$ make
$ ./latencytop
Please enable the CONFIG_LATENCYTOP configuration in your kernel.
Exiting...
# sudo ./latencytop
LatencyTOP version 0.4 (C) 2008 Intel Corporation
  • way 2
$ tar xjf /.../linux-2.6.26.2.tar.bz2
$ cd ./linux-2.6.26.2
$ cat /.../latencytop.patch | patch -p1
$ make menuconfig
$ make bzImage modules
  • Error
root@xy4-OptiPlex-9020:~/workspace/git/mount# latencytop
mount: none is already mounted or /sys/kernel/debug busy
Please enable the CONFIG_LATENCYTOP configuration in your kernel.
Exiting...

dstat

$ sudo apt install dstat
image.png

dtrace

stap

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 前言 因为在做nodejs程序的性能分析的时候,了解到了Perf和FlameGraph这两个神奇的工具,接着就知道...
    泡沫与周期_白羊Jerry阅读 9,509评论 0 7
  • 此文专门研究这篇文章http://www.brendangregg.com/perf.html它就是个perf大杂...
    沉思故事阅读 5,787评论 1 1
  • 转自:http://openresty.org/posts/dynamic-tracing/ 关于作者 大家好,我...
    鲸息_Leon阅读 4,969评论 0 2
  • 后来是什么?❤ 体育课上徐娇娇说张小楠眼保健操做的不合格,就是不给通过。大眼睛一眨一眨的,不容置疑的说“她就是做的...
    雪团团阅读 1,895评论 0 0
  • #本年度第29周 #个人晚间打卡第231天 #我的迷茫和胆怯一直都在,但我告诉自己,就算是万丈深渊,走下去,也是前...
    如云水漂泊阅读 1,459评论 0 0

友情链接更多精彩内容