Ubuntu / Debian installation command:
sudo apt-get install tcptrack
An example of a startup with a network interface:
sudo tcptrack -i eth0
Program Documentation:
man tcptrack
I will describe some startup keys:
-d (monitor new connections, do not detect existing ones before tcptrack starts)
-f (fast mode)
-h (help)
-i name (specifying the name of the network interface)
-T file (analyze data from a file)
-p (do not switch the network interface to promiscuous mode)
-r seconds (wait the specified number of seconds before removing closed connections from the screen, standard 2)
-v (display program version)
Function Key List:
p – pause
q – output
s – sort