Psychz - Nikhil
Votes: 0Posted On: Jun 21, 2017 06:49:29
It is very important for a system/network admin to monitor the inflow and outflow of the traffic from the server. There are many tools available these days that can help to view the information graphically. However, the most common and extensively used command is "NETSTAT"
Using netstat you can monitor every connection going in and out of your computer. This monitors all major protocols including tcp and udp, and every port. netstat is a standard Unix program, so it is likely installed.
# netstat -t -u (-u for displaying continuously)
the output is as follows -
tcp 0 0 121.0.41.9:57053 71-95-19-141.stat:16359 ESTABLISHED
tcp 0 19109 121.0.41.9:49249 5ac33076.bb.sky.c:52782 ESTABLISHED
tcp 0 0 121.0.41.9:53874 catv54039CF5.pool:16628 ESTABLISHED
tcp 0 0 121.0.41.9:37182 host86-140-193-28.:6881 ESTABLISHED
tcp 0 0 121.0.41.9:45563 61-224-49-29.dyna:48227 ESTABLISHED
tcp 0 0 121.0.41.9:47665 74.213.68.212:43837 ESTABLISHED