1. http://download.chinaunix.net/download.php?id=32248&ResourceID=10197
Tar zxvf tcptrack-1.4.2.tar.gz
CD tcptrack-1.4.2
./configure;
#报错如下
Configure:error:Connot Find Pcap Library
#解决方法
Yum install-y libpcap-devel libpcap
Make & make Install
2. Get help information using Tcptrack-h
Usage:tcptrack [-DFHVP] [-R <seconds>]-I <interface> [<filter Expression>]
3.Tcptrack runtime can only monitor the parameters of one network card at a time (if you have eth0ð1 on the host)
4.tcptrack can also monitor traffic from specified IP and network cards
# tcptrack-i eth0 src or DST 172.30.65.72
650) this.width=650; "title=" Tcptrack01.png "alt=" Wkiol1chgoigkt99aaapjbx_u50339.png "src=" http://s5.51cto.com/ Wyfs02/m00/7f/83/wkiol1chgoigkt99aaapjbx_u50339.png "/>
5. You can also specify the network card and the listening port
To monitor the specific ports (ie. Port and 22):
# tcptrack-i eth0 Port 80
# tcptrack-i Eth0 Port 22
650) this.width=650; "title=" Tcptrack03.png "alt=" Wkiom1chhd2d6g1daaaxcnjcpdi228.png "src=" http://s2.51cto.com/ Wyfs02/m02/7f/85/wkiom1chhd2d6g1daaaxcnjcpdi228.png "/>
This article is from the Server Ops blog, so be sure to keep this source http://shamereedwine.blog.51cto.com/5476890/1768519
The use of Network monitoring tool Tcptrack