- nar流量测试命令
- netperf带宽测试工具
- redid-benchmark
- nmon CPU、带宽监控工具
- google perftool 找到最耗cpu的函数。
https://github.com/gperftools/gperftools.git
yum install autoconf
yum install automake
yum install libtool
./autogen.sh
./configure
make
make install
gcc gperftest.c -O0 -lprofiler
export LD_LIBRARY_PATH=/usr/local/lib
./a.out
pprof --text a.out MyProfile
yum install graphviz ghostscript -y
pprof --pdf a.out MyProfile > MyProfile.pdf
所有评论(0)