There are some useful tools in Unix/Linux to check out how the system is going on.

Here is a short summery of them:

This comes from a link below.

=======8X-----------Start-of-quotation------------X8=======

Linux性能诊断工具

http://www.2cto.com/os/201409/330096.html

vmstat:虚拟内存状况 –swpd free buff cache si so in cs 参考:http://www.cnblogs.com/ggjucheng/archive/2012/01/05/2312625.html

iostat:io状况 avgqu-sz await svctm 参考:http://blog.csdn.net/dbanote/article/details/17784429 
mpstat: cpu状况 sys usr iowait 参考:http://blog.csdn.net/evils798/article/details/7524474 
ifstat:网络状况 –in out 
dstat:所有资源统计汇总 –资源汇总 参考:http://blog.csdn.net/yuandianlws/article/details/7004364 
tcpstat: 查看某个tcp端口的响应时间 tcprstat -lxxx.xxx.xxx.xxx -p 3306 -t 1 -n 0 
参考:http://my.oschina.net/moooofly/blog/157063 
tcpdump: 抓包 tcprstat -l xxx.xxx.xxx.xxx -p 3306 -t 1 -n 0

=======8X------End-of-quotation----------X8=======

Let's see another one specifically which is neat to use when analysing TCP capture details

Notice: tool 'tcprstat' is better to test the request/response timing durance and etc..

while tool 'tcpstat' has something to do with its package capturing.

'tcpdump' is another great tool which works with them.

=======8X-----------Start-of-quotation------------X8=======

TCP capture analysis and TCP analogy

For tool 'tcprstat'

Here's its github page: https://github.com/Lowercases/tcprstat/

To install 'tcprstat' and 'tcpstat'

git clone https://github.com/Lowercases/tcprstat.git
cd tcprstat
chmod +x bootstrap
# if you are using debian/ubuntu/or ubuntu's derived destros, you would need to install package automake and autoconf
apt-get install automake autoconf -y
./bootstrap
#then
./configure --prefix=/usr/local # wherever the path you want
make
make install # notice there are no package tcprstat in debian/ubuntu's software source repository. but they have the package 'tcpstat'. So, apt-get install tcpstat -y

http://my.oschina.net/moooofly/blog/157063

But I have to clearify that there are some errors in the ariticle that the author tried to

state the differences or the similarities between the tool 'tcprstat' and the tool 'tcpstat'.

Actually his essay is all about the tool 'tcprstat'.

=======8X------------End-of-quotation-------------X8=======

How to figure out the TCP package in an interactive chart?

He uses PHP, tcpstat and gnuplot to decorate the statistics.

Here's is the HOW-TO:

http://www.frenchfries.net/paul/tcpstat/gnuplot_howto.html

And it's tutorial from youtube:

https://www.youtube.com/watch?v=fwmmRdT351Q

TCP/IP capture/analysis tools in Unix/Linux的更多相关文章

  1. [转] TCP/IP原理、基础以及在Linux上的实现

    导言:本篇作为理论基础,将向我们讲述TCP/IP的基本原理以及重要的协议细节,并在此基础上介绍了TCP/IP在LINUX上的实现. OSI参考模型及TCP/IP参考模型 OSI模型(open syst ...

  2. [转] Linux TCP/IP网络小课堂:net-tools与iproute2大比较

    PS:netstat选项是-planet,方便记忆 http://os.51cto.com/art/201409/450886.htm 如今许多系统管理员仍结合使用ifconfig.route.arp ...

  3. 50个最常用的UNIX/Linux命令

    转自http://get.jobdeer.com/493.get 1. tar command examples Create a new tar archive. $ tar cvf archive ...

  4. 图解TCP/IP→第2章基础知识

    ####TCP.IP背景**关键词:ARPANET,UNIX,分组交换技术,*ARPANET(阿帕网),也是全球互联网的鼻祖.阿帕网的成功也充分证明了基于分组交换技术的通信方法的可行性.*20世纪70 ...

  5. 图解TCP/IP读书笔记(二)

    图解TCP/IP读书笔记(二) 第二章.TCP/IP基础知识 一.TCP/IP出现的背景及其历史 年份 事件 20世纪60年代后半叶 应DoD(美国国防部)要求,美国开始进行通信技术相关的研发 196 ...

  6. OSI 七层模型和 TCP/IP 协议比较

      OSI (Open System Interconnection), 开放式系统互联参考模型.从下到上七层模型功能及其代表协议: 物理层(Physical) :规定了激活.维持.关闭通信端点之间的 ...

  7. UNIX/Linux网络编程基础:图解TCP/IP协议栈

    目录 1.主机到网络层协议:以太网协议 2.IP协议 3.网际控制报文协议(ICMP) 4.传输控制协议(TCP) 5.用户数据报文协议(UDP) 6.流控制传输协议(SCTP) 7.地址解析协议(A ...

  8. 《Unix网络编程》卷一(简介TCP/IP、基础套接字编程)

    通常说函数返回某个错误值,实际上是函数返回值为-1,而全局变量errno被置为指定的常值(即称函数返回这个错误值). exit终止进程,Unix在一个进程终止时总是关闭该进程所有打开的描述符. TCP ...

  9. 11 TCP/IP 基础与Linux的网络配置

    1. TCP/IP与OSI参考模型 TCP/IP是Unix/Linux世界的网络基础,在某种意义上Unix网络就是TCP/IP,而TCP/IP就是网络互联的标准.它不是一个独立的协议,而是一组协议.其 ...

随机推荐

  1. bootstrap-wysiwyg 结合 base64 解码 .net bbs 图片操作类 (三) 图片裁剪

    官方的例子 是 长方形的. 我这里 用于 正方形的头像 所以  做如下  修改 #preview-pane .preview-container { width: 73px; height: 73px ...

  2. 【翻译自mos文章】SYS_OP_C2C 导致的全表扫描(fts)/全索引扫描

    SYS_OP_C2C 导致的全表扫描(fts)/全索引扫描 參考原文: SYS_OP_C2C Causing Full Table/Index Scans (Doc ID 732666.1) 适用于: ...

  3. POI导出Excel文档通用工具方法

    import java.lang.reflect.InvocationTargetException; import java.util.List; import java.util.Map; imp ...

  4. Java小知识点学习--------数组和位运算小知识点

    位运算符: >>>无符号右移运算符,无符号右移的规则和右移的规则同样,仅仅是在填充时,无论原来是正数还是负数都用0来补充. 数组: arr1=arr2;  此时两个数组变量都会同一时 ...

  5. AngulaJS实战

    AngulaJS实战总结, 带你进入AngularJS世界(待续)   使用AngularJS  进行Hybrid App 开发已经有一年多时间了,这里做一个总结. 一.AngularJS 初始化加载 ...

  6. 本学习笔记TCP/IP传输协议

    一个.通过网络发送数据,大致能够分为面向有连接与面向无连接两种类型: 1.面向无连接型包含以太网. IP.UDP等协议. 2. 面向有连接 型包含ATM.帧中继.TCP等 协议. 通过一张图了解一下: ...

  7. PHP单元测试利器:PHPUNIT初探

    开始动手安装phpunit 本文中将通过介绍php中的单元测试利器phpunit(http://phpunit.de/),并通过实际例子来讲解如何在实际工作中运用phpunit.首先安装phpunit ...

  8. EA强大的绘图工具---设计数据库表格

    关于EA这个优秀的软件是从师哥哪里听来的,自己瞎点了点,感觉也没什么.近期和和智福加上一个师哥合作敲机房收费系统时,想到之前听人说EA非常强大,便随便找了找关于EA使用的帮助手冊.果然惊喜-- 如题, ...

  9. 腾讯QQ音乐网页版 音频初始化模块解压混淆js源码

    define("js/view/playerBar.js",function(t,e,o){ var i = t("js/lib/zepto.js"), a = ...

  10. Javascript--dataTransfer

    描述: 提供对于预定义的剪贴板格式的访问,以便在拖拽中使用 属性 描述 参数 dropEffect[=sCursorStyle] 设置或获取拖拽操作的类型和要显示的光标类型 可选的copy 复制样式被 ...