2018-08-08 tools

2018-08-08  本文已影响0人  七点水Plus

【转】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
$ 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
$ 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
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

上一篇 下一篇

猜你喜欢

热点阅读