用调试工具命令:
1、 dumpcore文件
ulimit -c unlimited
2、内存检测工具:
valgrind –show-reachable=yes –leak-check=full -v –gen-suppressions=all –log-file=./loga.log /databuild/bin/twemproxy
3、tcp响应时间 检测工具:TCPRSTAT https://yq.aliyun.com/articles/27293
1、 dumpcore文件
ulimit -c unlimited
2、内存检测工具:
valgrind –show-reachable=yes –leak-check=full -v –gen-suppressions=all –log-file=./loga.log /databuild/bin/twemproxy
3、tcp响应时间 检测工具:TCPRSTAT https://yq.aliyun.com/articles/27293
4、redis 压测:/usr/local/webserver/redis/bin/redis-benchmark -h 127.0.0.1 -p 3002 -a MKL -q -t set,get -r 100000 -c 500 -n 1000000 -d 100
详细来源:http://www.bidutools.com/?p=3566