Linux Server Admin Tools and GNU Benchmark Tools Directory, OpenSource Tools

Tcptrack

Install Tcptrack to monitor TCP connections | RHEL/CentOS


Tcptrack is an excellent tool to monitor your server network connections and bandwidth quickly, installation is pretty easy and can be done either via rpm or source.

Install Tcptrack from rpm


Download Tcptrack rpm  from http://packages.sw.be/tcptrack/ by selecting your OS and arch :

Install TCPtrack from source


Download TCPtrack source from :  http://www.rhythm.cx/~steve/devel/tcptrack/release/


Run ‘ tcptrack -h ‘ to list help menu :

Usage: tcptrack [-dfhvp] [-r <seconds>] -i <interface> [<filter expression>]


TCPtrack can monitor only one nic at once with only one parameter to run (if you have two nic ie.. eth0 & eth1 )

Tcptrack can also take a pcap filter expression as an argument. The format of this filter expression is the same as that of tcpdump(8) and other libpcap-based sniffers. The following example will only show connections from host 68.36.45.78:

To monitor the specific ports (ie..port 80 and 22):

Tcptrack is little resouce intensive, try to use -f option for fast  average recalculation under less resource usage.

Externel links :

Tcptrack official website :

Install Mrtg for Cpanel :

Install Htop :

TcpTrack