Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2760547
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2014-09-30 15:50:28

官方链接:

安装:
下载tcprstat-static.v0.3.1.x86_64 ,这个是个二进制的文件,下载后,直接执行chmod a+x  tcprstat-static.v0.3.1.x86_64
即可执行,见附件
1:

###提醒, 响应时间单位为微妙

2:to print out the number of requests per second to a MySQL server on port 3306  ##容易理解

3:The following example prints the maximum, 95th percentile maximum, and 99th percentile maximum response times in microseconds: ##很容易理解

4:也可以分析80端口的信息:
方法如下:

然后分析如下(我的tcpdump和tcprstat是安装在两台机器上的):
./tcprstat  -l 192.***.***.18   -t 2 -n 5 -r /mnt/tcpdump.log     -l 指明服务器ip地址,例如tcpdump是在A机器上抓包的,则该地址就指明为A即可,见附件

##percona的工具都是宝贝!!
阅读(1748) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~